diff --git a/hiera.yaml b/hiera.yaml index e69de29..89b5134 100644 --- a/hiera.yaml +++ b/hiera.yaml @@ -0,0 +1,7 @@ +:hierarchy: + - "ortiche/%{::hostname}" + - common +:backends: + - yaml +:yaml: + :datadir: '/etc/ortiche-conf/hiera/' diff --git a/manifests/site.pp b/manifests/site.pp index 50c1ec8..8fba65f 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -1,3 +1,6 @@ + +notify{"The value is: ${::ortiche-admin}": } + Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" , "/usr/local/bin/", "/usr/local/sbin/" ] } diff --git a/puppet.conf b/puppet.conf index 8e43615..9887e6c 100644 --- a/puppet.conf +++ b/puppet.conf @@ -6,6 +6,7 @@ rundir=/var/run/puppet factpath=$vardir/lib/facter prerun_command=/etc/puppet/etckeeper-commit-pre postrun_command=/etc/puppet/etckeeper-commit-post +hiera_config=/etc/puppet/hiera.yaml [master] # These are needed when the puppetmaster is run by passenger