Forge Home

windows_http_proxy

Manage Microsoft Windows HTTP proxy.

300 downloads

300 latest version

5.0 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

  • 1.1.1 (latest)
released Aug 15th 2022
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 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, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 99.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'mgeppetto-windows_http_proxy', '1.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add mgeppetto-windows_http_proxy
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install mgeppetto-windows_http_proxy --version 1.1.1

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.

Download

Documentation

mgeppetto/windows_http_proxy — version 1.1.1 Aug 15th 2022

Windows HTTP Proxy

Manage the HTTP proxy settings within Microsoft Windows.

Table of Contents

  1. Description
  2. Usage - Configuration options and additional functionality
  3. Limitations - OS compatibility, etc.
  4. Development - Guide for contributing to the module

Description

This module assists with managing the HTTP proxy configuration settings on a Windows node. It leverages PowerShell to do the bulk of the heavy lifting. By default, it will not make any modifications (to ensure unintentional breakage does not happen on a node).

Usage

To use the module, supply the desired configuration:

  windows_http_proxy {
    bypass_list => '<local>;*.test.sandbox.company.com;*.company.com;',
    ensure      => 'present',
    port        => 9191,
    server      => 'ourproxyserver.company.com',
  }

When troubleshooting a node issue, create a System Environment variable with a Name of "PUPPET_PS_HELPER_DEBUG" and a Value of "True". Then trigger a Puppet agent run; after which you may review the contents of the "C:\Windows\Temp\windows_http_proxy.log" file.

Limitations

  1. This module uses the following to generate the contents of the REFERENCE.md file:
  • puppet strings generate --format markdown --out REFERENCE.md
  1. Command to apply this module locally (and kick the tires): puppet apply --modulepath="<PathToModuleParentFolders>" --execute "include <ModuleName>" --environment "<EnvironmentName>" --no-splay --verbose --debug
  • For example: puppet apply --modulepath="C:\ProgramData\PuppetLabs\code\environments\production\modules;c:\projects\forge" --execute "include windows_http_proxy" --environment "production" --no-splay

Development

Feedback and ideas are always welcome - please contact an Author (listed in metadata.json) to discuss your input, or feel free to simply open an Issue.