first hiera test on puppet
This commit is contained in:
parent
3f41d573df
commit
ca9c65ed5f
3 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
:hierarchy:
|
||||||
|
- "ortiche/%{::hostname}"
|
||||||
|
- common
|
||||||
|
:backends:
|
||||||
|
- yaml
|
||||||
|
:yaml:
|
||||||
|
:datadir: '/etc/ortiche-conf/hiera/'
|
|
@ -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/" ]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue