Forge Home


Install Cygwin and manage packages


8,892 latest version

5.0 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.0
  • 0.0.6
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Feb 11th 2019
This version is compatible with:
  • Puppet Enterprise 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, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=4.1.0 <7.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'mdelaney-cygwin', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add mdelaney-cygwin
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install mdelaney-cygwin --version 0.2.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.

Tags: cygwin


mdelaney/cygwin — version 0.2.0 Feb 11th 2019


Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  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


This module installs Cygwin and adds Cygwin as a package provider in Puppet.

Module Description

This module will download the Cygwin setup executable and install it. This will install the standard set of cygwin tools to the standard cygwin location.


If you want to use cygwin as a package provider, it must be installed first.

Install Cygwin

include '::cygwin'



Public Classes

  • cygwin: Main Class, includes all other classes.

Private Classes




Take a UNIX-style path used in Cygwin and convert it to a Windows path. For example:

  • cygwin::windows_path('/etc/motd') == 'C:\Cygwin64\etc\motd
  • cygwin::windows_path('/cygrive/c/ProgramData') == 'C:\ProgramData


For obvious reasons, this module will only work on the Windows operating system.


Please see the Puppet guidelines for module contribution.