windows_diff_enable

contributions requested
pdk
Enables Windows Puppet file resource diff on par with Linux

6,950 downloads

6,625 latest version

5.0 quality score

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

  • 1.0.3 (latest)
  • 1.0.2 (deleted)
  • 1.0.1
  • 1.0.0
released Dec 13th 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • windows

Start using this module

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

Add this module to your Puppetfile:

mod 'jpadams-windows_diff_enable', '1.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jpadams-windows_diff_enable
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jpadams-windows_diff_enable --version 1.0.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

jpadams/windows_diff_enable — version 1.0.3 Dec 13th 2017

windows_diff_enable

Enables Windows Puppet file resource diff on par with Linux

Table of Contents

  1. Description
  2. Setup - The basics of getting started with windows_diff_enable
  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

Description

Enables Windows Puppet file resource diff on par with Linux by installing GNU diff.exe via Chocolatey and setting approprite config settings in puppet.conf.

This allows for a better experience viewing file changes in the Puppet run logs on the command line and in Puppet Enterprise reports.

Setup

Setup Requirements

Requires the puppetlabs-inifile and the chocolatey-chocolatey module to be present on your master.

Beginning with windows_diff_enable

Just classify your Windows nodes with windows_diff_enable and you'll be good to go!

Usage

There are two parameters that most users won't have to touch:

  • diff_command - Default value: 'C:\ProgramData\chocolatey\lib\diffutils\tools\bin\diff.exe' is the location of the diff.exe or other diff executable.
  • puppet_conf - Default value: 'C:\ProgramData\PuppetLabs\puppet\etc\puppet.conf' is the location of the puppet.conf file on the agent.