![Chocolatey powershell](https://cdn1.cdnme.se/5447227/9-3/20_64e61dfc9606ee7f8b257166.png)
Chocolatey can easily be installed via PowerShell script or other methods outlined by. Make sure that you have Chocolatey installed on any servers connected to Otter, otherwise Otter will not be able to install and upgrade Chocolatey packages. Navigate to Administration Overview> Software System & Configuration> Extensions> Available Extensions> Chocolatey. Step 1: Install Chocolatey Extension in Otterīefore Otter can ensure Chocolatey Packages, the Chocolatey extension will need to be installed. Simply repeat this process for any additional servers you wish to add to Otter. That's it! Your server is now connected to Otter. This can be done by navigating to Servers> Servername> Overview> Details> Configuration Drift> Change and checking the box for Detect configuration drift as well as selecting your preferred Drift remediation method. Next your server will need to be configured to detect configuration drift so that Otter can automate your server management.
![chocolatey powershell chocolatey powershell](https://image.slidesharecdn.com/chocolatey-powershellsummit2019-190503144254/95/chocolatey-for-organizations-easily-manage-software-powershell-summit-2019-12-638.jpg)
![chocolatey powershell chocolatey powershell](https://www.vladan.fr/wp-content/uploads/images/Install-chocolatey-720x442.jpg)
If you haven't done so already, we recommend using the Inedo Hub to install Otter and the Inedo Agent to add your server to Otter.Īfter the Inedo agent is installed, click the Create Server button on the Servers page, and enter the host name of the server, the port you installed the agent on, and the encryption key if you chose one. In order to ensure Chocolatey packages, your servers will need to be added to Otter.
![chocolatey powershell chocolatey powershell](https://image.slidesharecdn.com/chocolatey-psdayuk2017-170930123931/95/chocolatey-dsc-software-automation-sweeter-powershell-day-uk-51-638.jpg)
This guide will walk through how to use a role in Otter to automatically ensure Chocolatey packages are installed on your servers. Otter can "ensure" a Chocolatey package by making sure that it is installed or updated to a specified version. Otter automates this process by defining reusable sets of configurations called roles that can be assigned to any number of servers Manually provisioning, managing, and configuring hundreds of servers is time consuming and impractical.
![Chocolatey powershell](https://cdn1.cdnme.se/5447227/9-3/20_64e61dfc9606ee7f8b257166.png)