first hiera test on puppet

This commit is contained in:
jigen 2015-01-07 23:45:26 +01:00
parent 3f41d573df
commit ca9c65ed5f
3 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,7 @@
:hierarchy:
- "ortiche/%{::hostname}"
- common
:backends:
- yaml
:yaml:
:datadir: '/etc/ortiche-conf/hiera/'

View file

@ -1,3 +1,6 @@
notify{"The value is: ${::ortiche-admin}": }
Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" , Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" ,
"/usr/local/bin/", "/usr/local/sbin/" ] "/usr/local/bin/", "/usr/local/sbin/" ]
} }

View file

@ -6,6 +6,7 @@ rundir=/var/run/puppet
factpath=$vardir/lib/facter factpath=$vardir/lib/facter
prerun_command=/etc/puppet/etckeeper-commit-pre prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post postrun_command=/etc/puppet/etckeeper-commit-post
hiera_config=/etc/puppet/hiera.yaml
[master] [master]
# These are needed when the puppetmaster is run by passenger # These are needed when the puppetmaster is run by passenger