Created
October 25, 2013 14:28
-
-
Save zined/7155543 to your computer and use it in GitHub Desktop.
puppet / hiera env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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