Skip to content

shazi7804/puppet-tinyproxy

Repository files navigation

tinyproxy

Build Status Puppet Forge Puppet Forge

Table of Contents

  1. Description
  2. Setup - The basics of getting started with tinyproxy
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

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

include '::tinyproxy'

Configuring general

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

class { '::tinyproxy':
  filter_default_deny => true,
  filter_file         => '/etc/tinyproxy/filter.conf',
  filter_extended     => true
}
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.

Contributors

To see who's already involved, see the list of contributors.