From: Peter Palfrader Date: Thu, 12 Jul 2012 15:48:39 +0000 (+0200) Subject: Try this X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=0d6c99a290c4a6da0acc953759ed20e046a41a3c Try this --- diff --git a/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb b/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb index 15c5c070..8449f914 100755 --- a/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb +++ b/modules/ganeti2/templates/instance-debootstrap/hooks/00-dsa-configure-networking.erb @@ -40,7 +40,7 @@ EOF ########################################### ########################################### -<% if scope.lookupvar('::cluster') == 'ganeti2.debian.org' -%> +<% if scope.lookupvar('::cluster').to_s == 'ganeti2.debian.org' -%> ########################################### if [ "$NIC_COUNT" -ge 1 ]; then @@ -70,7 +70,7 @@ EOF ########################################### ########################################### -<% elif scope.lookupvar('::cluster') == 'ganeti-osuosl.debian.org' -%> +<% elif scope.lookupvar('::cluster').to_s == 'ganeti-osuosl.debian.org' -%> # ########################################### if [ "$NIC_COUNT" -ge 1 ]; then