summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-09-05 17:57:15 +0200
committervarac <varacanero@zeromail.org>2013-09-05 17:57:15 +0200
commit3d56396278a160d03efd1ddeda65646fcf7ca1a4 (patch)
treec9e0ff72b6cf8970351df760eaa3f59856a4cf95
parentf9ee40f2fca2396c1ef7d85a9c44b97fe834671a (diff)
puppet fails if no services are configured (Bug #3747)
-rw-r--r--puppet/manifests/site.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp
index c7d00c61..bce3a08b 100644
--- a/puppet/manifests/site.pp
+++ b/puppet/manifests/site.pp
@@ -2,7 +2,7 @@
Exec { path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin' }
# parse services for host
-$services=join(hiera_array('services'), ' ')
+$services=join(hiera_array('services', ['']), ' ')
notice("Services for ${fqdn}: ${services}")
# make sure apt is updated before any packages are installed