From 3d56396278a160d03efd1ddeda65646fcf7ca1a4 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 5 Sep 2013 17:57:15 +0200 Subject: puppet fails if no services are configured (Bug #3747) --- puppet/manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'puppet/manifests') 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 -- cgit v1.2.3