Version information
released Aug 19th 2016
This version is compatible with:
- Puppet Enterprise >= 3.0.0 < 2015.4.0
- Puppet >= 3.0.0 < 5.0.0
- , , ,
This module has been deprecated by its author since Oct 27th 2017.
The author has suggested puppet-hiera as its replacement.
Start using this module
Documentation
hunner/hiera — version 2.0.2 Aug 19th 2016
This module (hunner/hiera) has moved to the Vox Pupuli namespace for all future releases:
See you on Freenode #voxpupuli !
Change log
All notable changes to this project will be documented in this file.
2.0.1 - 2016-01-27
Fixes:
- Fix key creation when passing a custom
hiera::keysdir
2.0.0 - 2016-01-26
Changes:
- eyaml keys/ directory moved from
/etc/puppetlabs/code/keys
to/etc/puppetlabs/puppet/keys
on PE > 3.x. You should move you keys directory when upgrading. hiera::hiera_yaml
default changed from/etc/puppetlabs/code/hiera.yaml
to/etc/puppetlabs/puppet/hiera.yaml
on Puppet >= 4.x. The hiera_yaml puppet config setting in puppet.conf should be updated when upgrading; seehiera::puppet_conf_manage
hiera::datadir
default changed from/etc/puppetlabs/puppet/hieradata
to/etc/puppetlabs/code/environments/%{::environment}/hieradata
on puppet versions >= 4. Verify that this is your prefered value when upgrading.
Features:
- No longer using exec resources to install eyaml on puppet versions >= 4!
- Add
hiera::puppet_conf_manage
parameter to managehiera_conf
puppet.conf setting - Add
hiera::keysdir
parameter for putting the keys somewhere other than $confdir/keys
Bugfixes:
- Fix hiera.yaml and keys/ directory being overwritten by file sync on PE 2015.x
- Fix eyaml package provider detection on puppet versions >= 4
1.4.1 - 2016-01-08
Bugfixes:
- Fix rubocop linting
- Correct the name of the license file so the forge can find it.
- Add travis testing
1.4.0 - 2016-01-05
Features:
- Added
hiera::create_symlink
parameter to disable /etc/hiera.yaml creation - Added
hiera::master_service
parameter to set the master service name - Added ability to restart master service on hiera.yaml change
- Added beaker-rspec acceptance tests
- Bumped PE range to include 2015.3
Bugfixes:
- Fixed bugs on PE 2015.2 when versioncmp() raised errors
- Fixed hiera.yaml output to be consistent across puppet 3 and 4
- Fixed stdlib metadata requirement.
1.3.2 - 2015-09-14
Bugfixes:
- Detect correct user on 2015.2.0
- Clean up hiera formatting.
1.3.1 - 2015-07-24
Bugfixes:
- Allow
eyaml_version
to be undef (the default) on PE 3.7/3.8
1.3.0 - 2015-07-23
Features:
- Add PE 3.8 support
- Add Puppet 4 support
Bugfixes:
- Fix
eyaml_datadir
parameter default todatadir
value - Handle cmdpath on different versions of puppet
1.2.0 - 2015-03-05
Features:
- Added
hiera::create_keys
param to disable pkcs7 key generation with hiera-eyaml - Added
hiera::gem_source
param to specify source of hiera-eyaml gem - Added
hiera::eyaml_version
param to specify the version of eyaml
Bugfixes:
- Change Modulefile to metadata.json
- Add validation on
merge_behavior
param - Make it kind of work on PE 3.7 (pe-puppetserver must still be restarted after the gem is installed)
1.1.1 - 2014-11-21
Bugfixes:
- Correct handling of
cmdpath
(using an array of paths instead of hardcoded path). Also addscmdpath
parameter - Fix permissions on private key (604 was a typo)
- Add "Managed by puppet" header
1.1.0 - 2014-10-15
Features:
- Added
eyaml
,eyaml_datadir
, &eyaml_extension
parameters to hiera class for configuring hiera-eyaml - Added
hiera::datadir_manage
parameter to disable datadir management - Added
hiera::logger
parameter to change logger - Added
hiera::merge_behavior
parameter to change the hash merge behavior - Added some spec tests
- Added new readme
Bugfixes:
- Correct datadir regex
{}
matching
1.0.2 - 2014-05-01
- Remove swap files from package
1.0.1 - 2014-03-25
Bugfixes:
- Readme tweak
- Use template instance variables to remove warnings
1.0.0 - 2014-02-27
Features:
backends
parameter for an array of hiera backendsextra_config
parameter for a string of extra yaml config
Bugfixes:
- Correct the yaml formatting
0.3.1 - 2013-06-17
Bugfixes:
- Docs!
0.3.0 - 2013-06-17
Features:
- PE + POSS support
Bugfixes:
- Only ensure datadir if it does not have
%{.*}
Dependencies
- puppetlabs-stdlib (>= 4.3.1 < 5.0.0)
- puppetlabs-inifile (>= 1.0.0 < 2.0.0)
Copyright (c) 2015, Hunter Haugen 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 HOLDER 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.