summaryrefslogtreecommitdiff
path: root/puppet/manifests/site.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/manifests/site.pp')
-rw-r--r--puppet/manifests/site.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp
index 10ea40c6..34c19370 100644
--- a/puppet/manifests/site.pp
+++ b/puppet/manifests/site.pp
@@ -3,6 +3,10 @@ Exec { path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin' }
$custom_key_dir = 'puppet:///modules/site_apt/keys'
+# parse services for host
+$services=hiera_array('services')
+notice("Services for ${fqdn}: ${services}")
+
# make sure apt is updated before any packages are installed
include apt::update
Package { require => Exec['apt_updated'] }
@@ -13,9 +17,6 @@ import 'common'
include site_config::default
include site_config::slow
-# parse services for host
-$services=hiera_array('services')
-notice("Services for ${fqdn}: ${services}")
# configure eip
if 'openvpn' in $services {