Forge Home

dsc_collection

Collection of DSC examples how to use existing DSC configurations with puppet

15,867 downloads

7,179 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.3 (latest)
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.9
  • 0.1.8
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5 (deleted)
  • 0.0.4 (deleted)
  • 0.0.3 (deleted)
  • 0.0.2 (deleted)
  • 0.0.1 (deleted)
released Nov 23rd 2016
This version is compatible with:

Start using this module

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

Add this module to your Puppetfile:

mod 'andulla-dsc_collection', '0.2.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add andulla-dsc_collection
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install andulla-dsc_collection --version 0.2.3

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

andulla/dsc_collection — version 0.2.3 Nov 23rd 2016

dsc_collection

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 dsc_collection
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This modules configures the necessary requirements to use The new Puppet Labs Windows Desired State Configuration (DSC) module.

Module Description

The modules shows the easy integration of existing PowerShell DSC Configurations with Puppet.

Setup

What dsc_collection affects

The module configures the following:

  • Makes sure the Windows Update Service is up and running
  • Makes sure the Windows Management Framework and PowerShell v5 - Preview is installed. Implemented workaround for chocolatey via custom fact chocolatey_packages
  • Configures the LCM refresh_mode as Disabled.
  • Reboots after installation and configurations
  • creates a new custom fact chocolatey_packages with informations about the installed packages via chocolatey.

Beginning with dsc_collection

After successfully using the config module you can start to use the following test classes:

  • fourthcoffee.pp - Installs IIS, .NET ASP 4.5, Disables the Default Webside and configures a new Webside with fourthcoffee application.
  • archive.pp - Example how to extract archive zip file
  • environment.pp - Example how to configure system environment variable.
  • package.pp - Example how to install software with package resource.
  • registry.pp - Example how to manage different Registry keys and values.
  • service.pp - Example how to manage a service
  • userandgroup.pp - Example how to manage a local user and a local group.
  • webpage.pp - Example how to install IIS, .NET ASP 4.5, IIS by installing from a ZIP file available via local or UNC path.
  • sharepoint2013.pp - Example how to install Sharepoint 2013 on Windows Server 2008R2.

Usage

First classify your nodes with the config class to be sure all necessary configurations are applied before using one of the example classes.

Reference

...

Limitations

...

Development

Please create new issues at the official GitHub repo or send me pull requests to add additional examples/features.

Release Notes/Contributors/Etc Optional

Please use this module with caution as it is 0.x.x Release!