Forge Home


Provides a simple way to manage various proxies


4,576 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 2.0.2 (latest)
  • 2.0.1
  • 2.0.0
  • 1.7.0
  • 1.6.0
  • 1.5.3
  • 1.0.0
  • 0.1.1 (deleted)
released Jun 21st 2021
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
  • Puppet >= 6.0.0 < 8.0.0
  • , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'MiamiOH-httpproxy', '2.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add MiamiOH-httpproxy
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install MiamiOH-httpproxy --version 2.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Tags: proxy, linux


MiamiOH/httpproxy — version 2.0.2 Jun 21st 2021


Build Status Puppet Forge Puppet Forge Downloads Puppet Forge Score

Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Reference - An under-the-hood peek at what the module is doing and how
  4. Limitations - OS compatibility, etc.
  5. Contributors


WARNING: This module will default to wiping any proxies in profile.d, apt conf.d, and yum.conf. Pass false to disable the module from handling those software packages.

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.


class { '::httpproxy':
  wget            => true,
  profiled        => true,
  packagemanager  => true,
  http_proxy      => '',
  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.

The no_proxy parameter takes a comma separated string of addresses to be ignored by the profile.d proxy.


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.


This module has been tested against Puppet 4, CentOS 5,6,7, and Ubuntu 14.04.


Chris Edester and Michael Callahan