Skip to content

Instantly share code, notes, and snippets.

@zined
Created October 25, 2013 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zined/7155543 to your computer and use it in GitHub Desktop.
Save zined/7155543 to your computer and use it in GitHub Desktop.
puppet / hiera env
# dpkg -l | grep puppet
ii hiera 1.2.1-1puppetlabs1 A simple pluggable Hierarchical Database.
ii hiera-puppet 1.0.0-1puppetlabs1 A simple pluggable Hierarchical Database.
ii puppet 2.7.19-1puppetlabs2.1 Centralized configuration management - agent startup and compatibility scripts
ii puppet-common 2.7.19-1puppetlabs2.1 Centralized configuration management
ii puppetdb-terminus 0.9.0-1puppetlabs1 Connect Puppet to PuppetDB by setting up a terminus for PuppetDB.
ii puppetmaster-common 2.7.19-1puppetlabs2.1 Puppet master common scripts
ii puppetmaster-passenger 2.7.19-1puppetlabs2.1 Centralised configuration management - master setup to run under mod passenger
# cat /etc/puppet/hiera.yaml
---
:backends:
- yaml
:logger: console
:hierarchy:
- "server_role_%{server_role}"
:yaml:
:datadir: /var/lib/hiera
# ls /var/lib/hiera/
server_role_nagios.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment