X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fganeti2%2Ftemplates%2Finstance-debootstrap%2Fhooks%2F00-dsa-configure-networking.erb;h=8449f914595c88e240f29cdd6ea1feccb2c1eeed;hb=0d6c99a290c4a6da0acc953759ed20e046a41a3c;hp=15c5c070d1861bbfa4c5bc2226eecd45aaf81cc7;hpb=7e87f5d68028e8eb0f2c2b6c8b03577e09d4f4db;p=dsa-puppet.git 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