From cb1defee5eb7d0dc53981778d64c7743f75f3840 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 12 Jul 2014 09:02:44 +0000 Subject: [PATCH] Try to work if $::hoster is not yet defined --- modules/debian-org/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.20.1