Forge Home

winhttp_proxy

Manage Windows system proxy (i.e. WinHTTP Proxy) settings

85 downloads

66 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.0.0 (latest)
  • 0.1.0
released Sep 27th 2024
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
  • Puppet >= 6.0.0 < 9.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'webalex-winhttp_proxy', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add webalex-winhttp_proxy
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install webalex-winhttp_proxy --version 1.0.0

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

webalex/winhttp_proxy — version 1.0.0 Sep 27th 2024

winhttp_proxy

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with winhttp_proxy
  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

Overview

Manage Windows system proxy (i.e. WinHTTP Proxy, not the Internet Explorer one).

Module Description

This module use netsh command to change the Windows system proxy settings.

Setup

What winhttp_proxy affects

This module changes the "netsh winhttp proxy" context.

For more info, read M$ docs

###Setup Requirements

Winhttp_proxy uses Ruby-based providers, so you must enable pluginsync enabled.

Reference

winhttp_proxy

Examples :

winhttp_proxy { 'proxy':
  proxy_server => 'proxy',
  bypass_list  => '<local>';
}

winhttp_proxy { 'proxy':
  proxy_server => 'http=proxy.example.com;https=proxy.example.org',
  bypass_list  => '<local>;*.example.org;*.example.com';
}

winhttp_proxy { 'proxy':
  proxy_server => 'http=proxy.example.com;https=proxy.example.org',
  bypass_list  => ['<local>', '*.example.org', '*.example.com'];
}

Limitations

Requires Windows >= 7 or Windows >= 2008 (netsh provider).

Development

PRs accepted :)

Source

This is a fork of https://github.com/sathieu/puppet-winhttp_proxy