Version information
This version is compatible with:
- Puppet Enterprise >= 3.4.0 < 5.0.0
- Puppet >= 3.4.0 < 5.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'MiamiOH-httpproxy', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
httpproxy
Table of Contents
- 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
Overview
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.
Usage
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.
Reference
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.
Limitations
This module has been tested against Puppet 3.8.1, 4, CentOS 5,6,7, and Ubuntu 14.04.
Contributors
Chris Edester and Michael Callahan
2015-07-30 (1.0.0) Michael Callahan
* Tweaked Readme. Release to forge.
2015-07-30 (0.1.5) Michael Callahan
* Fixed misc. bug issues and ran full suite of tests.
2015-07-30 (0.1.4) Michael Callahan
* Added preseed class. Reworked apt module to work at a lower level.
2015-07-28 (0.1.3) Michael Callahan
* Fixed many errors. Updated README.
2015-07-27 (0.1.2) Michael Callahan
* Implemented OS based package handling
2015-07-23 (0.1.1) Michael Callahan
* Fixed wget path
2015-07-23 (0.1.0) Michael Callahan
* Moved profiled to its own class. Restructured proxy variables. Setup for public release.
2015-07-08 (0.0.2) Michael Callahan
* Wrote bulk of module.
2015-07-08 (0.0.1) Michael Callahan
* Initial Commit of default files etc.
Dependencies
- puppetlabs/stdlib (>= 4.1.0 <5.0.0)
- puppetlabs/inifile (>=1.3.0 < 2.0.0)
- unibet/profiled (>= 0.1.4 <1.0.0)
- puppetlabs/apt (>= 2.1.0 <3.0.0)
Copyright 2015 Michael Callahan and Chris Edester Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.