Forge Home

cygwin

Install Cygwin and manage packages

16,194 downloads

9,214 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

  • 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.

Download
Tags: cygwin

Documentation

mdelaney/cygwin — version 0.2.0 Feb 11th 2019

Cygwin

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

Overview

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.

Usage

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

Install Cygwin

include '::cygwin'

Reference

Classes

Public Classes

  • cygwin: Main Class, includes all other classes.

Private Classes

Parameters

Functions

cygwin::windows_path($cygwin_path)

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

Limitations

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

Development

Please see the Puppet guidelines for module contribution.