summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puppet/manifests/site.pp3
-rw-r--r--puppet/modules/site_config/manifests/setup.pp4
2 files changed, 4 insertions, 3 deletions
diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp
index f8726fa9..1eafec64 100644
--- a/puppet/manifests/site.pp
+++ b/puppet/manifests/site.pp
@@ -1,9 +1,6 @@
# set a default exec path
Exec { path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin' }
-# parse services for host
-$services=join(hiera_array('services', ['']), ' ')
-notice("Services for ${fqdn}: ${services}")
include site_config::setup
include site_config::default
diff --git a/puppet/modules/site_config/manifests/setup.pp b/puppet/modules/site_config/manifests/setup.pp
index 6d89be86..db22c4d9 100644
--- a/puppet/modules/site_config/manifests/setup.pp
+++ b/puppet/modules/site_config/manifests/setup.pp
@@ -13,6 +13,10 @@ class site_config::setup {
include concat::setup
include stdlib
+
+ # parse services for host
+ $services=join(hiera_array('services', ['']), ' ')
+ notice("Services for ${fqdn}: ${services}")
# configure /etc/hosts
class { 'site_config::hosts':
stage => setup,