- Overview
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Contributors
WARNING: This module will default to wiping any proxies in profile.d, apt conf.d, and yum.conf. Pass false to disable the module from handling those software packages.
This module was created to streamline proxy management of popular software. It can place and remove proxies in profile.d, apt, yum, and wget. Currently only http (no https) proxies are supported.
class { '::httpproxy':
wget => true,
profiled => true,
packagemanager => true,
http_proxy => 'my.proxy.com',
http_proxy_port => '80'
}
Puppet will manage the proxy for the desired software when its boolean is set to true. When a proxy is entered, puppet will ensure that the proxy is present. If a proxy is left undefined, puppet will remove whatever proxy it placed (ensure absent). If the boolean is set to false, nothing will be removed or placed.
The no_proxy parameter takes a comma separated string of addresses to be ignored by the profile.d proxy.
httpproxy uses the Unibets profile.d management module to manage proxies in profile.d. The puppetlabs/inifile resource is used to manage the yum and wget proxies. The apt proxy is managed via the puppetlabs/apt module.
Please contribute, pull requests are welcome. The more proxies that can be managed the better.
This module has been tested against Puppet 4, CentOS 5,6,7, and Ubuntu 14.04.
Chris Edester and Michael Callahan