Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shazi7804/puppet-tinyproxy
The tinyproxy puppet module
https://github.com/shazi7804/puppet-tinyproxy
puppet tinyproxy
Last synced: about 2 months ago
JSON representation
The tinyproxy puppet module
- Host: GitHub
- URL: https://github.com/shazi7804/puppet-tinyproxy
- Owner: shazi7804
- License: apache-2.0
- Created: 2017-05-31T10:42:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-24T06:53:07.000Z (over 7 years ago)
- Last Synced: 2024-11-16T17:40:47.650Z (about 2 months ago)
- Topics: puppet, tinyproxy
- Language: Ruby
- Homepage: https://forge.puppet.com/shazi7804/tinyproxy
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tinyproxy
[![Build Status](https://travis-ci.org/shazi7804/puppet-tinyproxy.svg?branch=master)](https://travis-ci.org/shazi7804/puppet-tinyproxy) [![Puppet Forge](https://img.shields.io/puppetforge/dt/shazi7804/tinyproxy.svg?style=flat-square)](https://forge.puppet.com/shazi7804/tinyproxy) [![Puppet Forge](https://img.shields.io/puppetforge/v/shazi7804/tinyproxy.svg?style=flat-square)](https://forge.puppet.com/shazi7804/tinyproxy)#### Table of Contents
1. [Description](#description)
1. [Setup - The basics of getting started with tinyproxy](#setup)
* [Beginning with tinyproxy](#beginning-with-tinyproxy)
1. [Usage - Configuration options and additional functionality](#usage)
1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)
1. [Limitations - OS compatibility, etc.](#limitations)
1. [Development - Guide for contributing to the module](#development)## Description
The aws agent module installs, configures, and manages the tinyproxy service across a range of operating systems and distributions.
## Setup
### Beginning with tinyproxy
`include '::tinyproxy'` is enough to get you up and running.
## Usage
All parameters for the ntp module are contained within the main `::tinyproxy` class, so for any function of the module, set the options you want. See the common usages below for examples.
### Install and enable tinyproxy
```puppet
include '::tinyproxy'
```### Configuring general
```puppet
class { '::tinyproxy':
port => 3128,
allow_hosts => ['192.168.0.0/24','172.16.0.0/24'],
max_clients => 128,
max_spare_servers => 256,
min_spare_servers => 64,}
```### Configuring white list
```puppet
class { '::tinyproxy':
filter_default_deny => true,
filter_file => '/etc/tinyproxy/filter.conf',
filter_extended => true
}
``````puppet
class { '::tinyproxy::filter':
filters => ['^apt\.puppetlabs\.com$',
'^github\.com$',]
}
```## Reference
### Classes
#### Public classes
* tinyproxy: Main class, includes all other classes.
#### Private classes
* tinyproxy::install: Handles the packages.
* tinyproxy::config: Handles the config.
* tinyproxy::filter: Handles the filter list.
* tinyproxy::service: Handles the service.## Limitations
This module has been tested platform on:
* Red Hat Enterprise Linux (RHEL) 6, 7
* CentOS 6, 7
* Debian 6, 7
* Ubuntu 16.04## Development
Puppet modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. Please follow our guidelines when contributing changes.
For more information, see our [module contribution guide.](https://docs.puppetlabs.com/forge/contributing.html)
### Contributors
To see who's already involved, see the [list of contributors.](https://github.com/puppetlabs/puppetlabs-ntp/graphs/contributors)