Version information
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
Add this module to your Puppetfile:
mod 'mdelaney-cygwin', '0.2.0'
Learn more about managing modules with a PuppetfileDocumentation
mdelaney/cygwin — version 0.2.0 Feb 11th 2019
Cygwin
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- 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.
Dependencies
- puppetlabs/stdlib (>=4.2.0 <6.0.0)
- nanliu/staging (>=1.0.3 <2.0.0)
Copyright (c) 2015, Mike Delaney <github@mldelaney.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.