windows_diff_enable

pdk
Enables Windows Puppet file resource diff on par with Linux

jpadams

jpadams

5,125 downloads

5,015 latest version

5.0 quality score

Version information

  • 1.0.3 (latest)
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Dec 12th 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

Documentation

jpadams/windows_diff_enable — version 1.0.3 Dec 12th 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.