Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pcfens/puppet-system_proxy
https://github.com/pcfens/puppet-system_proxy
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pcfens/puppet-system_proxy
- Owner: pcfens
- Created: 2014-06-26T15:39:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-20T16:49:58.000Z (about 9 years ago)
- Last Synced: 2024-10-26T22:15:54.554Z (2 months ago)
- Language: Ruby
- Size: 203 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
puppet-system_proxy
===================[![Build Status](https://travis-ci.org/pcfens/puppet-system_proxy.png?branch=master)](https://travis-ci.org/pcfens/puppet-system_proxy)
Overview
--------Automate the configuration of a system wide proxy to access the internet, when
needed. If a network specified in the `unless_network` parameter exists on the
system, then nothing is configured, and a notice is written to the log.Usage
-----The most basic usage (to configure an unauthenticated http proxy) looks like
```puppet
class { 'system_proxy':
proxy_host => 'http://example.proxy.com'
}
```With every parameter set, usage looks like
```puppet
class { 'system_proxy':
proxy_host => 'http://proxy.example.com',
proxy_port => 80,
proxy_type => 'http',
username => 'ImAUser',
password => 'ASuperSecretPassword',
unless_network => ['10.0.1.0'],
unless_ip_in_range => ['192.168.0.1/24'],
environment_vars => ['PIP_PROXY', 'HTTPS_PROXY', 'https_proxy'],
}
```Supported Platforms
-------------------This module has been tested on Ubuntu 12.04 and Ubuntu 14.04.
It should work on RHEL/CentOS, and includes configuration for up2date/yum on
RHEL.