From: Peter Palfrader Date: Sat, 12 Jul 2014 09:02:44 +0000 (+0000) Subject: Try to work if $::hoster is not yet defined X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cb1defee5eb7d0dc53981778d64c7743f75f3840;p=mirror%2Fdsa-puppet.git Try to work if $::hoster is not yet defined --- diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 3055aa767..81373f75f 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -140,7 +140,7 @@ class debian-org { } if ($::hostname in [ball, corelli, eysler, lucatelli, mayer, mayr, rem, pettersson]) or - ($::hoster in [bytemark, man-da, brown]) { + ($::hoster and ($::hoster in [bytemark, man-da, brown])) { site::aptrepo { 'proposed-updates': url => $mirror, suite => "${::lsbdistcodename}-proposed-updates",