mdelaney-cygwin

Puppet module to install and manage packages with cygwin.


Keywords
cygwin, puppet, ruby
License
BSD-2-Clause
Install
puppet module install mdelaney-cygwin --version 0.2.0

Documentation

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.