Skip to content

jlyheden/puppet-tinyproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

A Puppet module that manages tinyproxy

Released under the Apache 2.0 licence

Dependencies:

puppet-concat: https://github.com/puppetlabs/puppet-concat

Usage:

You can install, configure and start the service simply by including the class

include tinyproxy

The module supports a bunch of parameters, check the init.pp for more details, however here's an example on how to override a few parameters:

class { 'tinyproxy':
    listen             => '127.0.0.1',
    port               => 8080,
    connection_timeout => 60
}

In addition you can add ACLs, headers and upstream proxies via separate resource definitions:

tinyproxy::header { 'X-My-Header':
    ensure  => present,
    value   => 'Powered by Tinyproxy'
}

tinyproxy::upstream { 'my_upstream':
    ensure  => present,
    proxy   => 'myproxy:8080',
    match   => '.domain.com'
}

tinyproxy::noupstream { 'my_noupstream':
    ensure  => present,
    match   => '.internal.domain.com'
}

tinyproxy::reversepath { 'my_reversepath':
    ensure  => present,
    path    => '/mypath/',
    target  => 'http://www.some.server.com'
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages