How-To Setup Cache Locations

Post Reply
User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

How-To Setup Cache Locations

Post by Cubert »

For application installs and updates to be distributed a caching drive must be setup and available at each client location.

Chocolatey.org repositories use rate limiters and IP blocks to restrict MSPs and other companies from flooding the community repositories with download requests for the same packages over and over again. This means that just allowing every agent at a given client location to directly request packages from Chocolatey.org will quickly cause your IP to be blocked by the repository. This means the first 2 or 3 agents may get updates then the rest will get errors and your done.

By allowing only one agent to communicate with the public repository from any one client location you prevent this block and your able to get packages at will. All other agents will use the local cache and not communicate directly with Chocolatey.org. You are still able to force a single install of software from inside the plugin directly from repository if you need to deploy a one off title to an agent.


Open the Location Console and on the main tab towards the bottom is an area where you can add a network share location, username and password needed to access that location. The plugin will use this information in all instances where it needs to install or update packages.

LocationCacheSettings.PNG
LocationCacheSettings.PNG (27.99 KiB) Viewed 3137 times

Post Reply

Return to “ChocolateyForAutomate 3.5 Document Project”