Created
October 10, 2013 20:06
-
-
Save scottslowe/6924675 to your computer and use it in GitHub Desktop.
This snippet of Puppet code (which relies upon the Puppet Labs Apt module) will configure apt to use a local Apt proxy (in this example, a local instance of Apt-Cacher-NG).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure apt to use apt-cacher-ng | |
class {'apt': | |
proxy_host => 'apt-cacher-ng.example.com', | |
proxy_port => '3142', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment