hocon

pdk
Resource types for managing settings in HOCON files

1,302,409 downloads

11,761 latest version

4.3 quality score

Version information

  • 2.0.0 (latest)
  • 1.1.0
  • 1.0.1
  • 1.0.0
  • 0.9.4
  • 0.9.3
  • 0.9.2
  • 0.9.1
  • 0.9.0
released Sep 24th 2015
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.0.0 < 5.0.0
  • Debian
    ,
    Ubuntu

Start using this module

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

Add this module to your Puppetfile:

mod 'puppetlabs-hocon', '0.9.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-hocon
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-hocon --version 0.9.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

puppetlabs/hocon — version 0.9.3 Sep 24th 2015

0.9.3

This is a feature release.

  • Update the hocon gem dependency from 0.9.2 to 0.9.3
  • Add support for managing individual array elements via the array_element value for the type parameter

0.9.2

This is a minor bugfix release.

  • Move the logic for saving a modified configuration file out of its own separate class and into the provider. This resolves an issue wherein the hocon gem was sometimes being required when it shouldn't have been, leading to errors.

0.9.1

This is a minor bugfix release.

  • Allow true numeric values to be set in a configuration file in versions of Puppet prior to 4.0.0.

0.9.0

This is a major feature release.

  • Update the hocon gem dependency to the newly released 0.9.0 version.
  • puppetlabs-hocon will no longer change an existing configuration file's ordering, comments, or indentation when modifying or adding settings.
  • Add support for passing arrays and hashes to the value parameter
  • Add support for passing in the exact text of a setting as it is desired to appear in the configuration file under the value setting (useful, for example, if one wants to insert a substitution, or a value with internal comments, such as a map)