summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-05-08 16:07:56 +0200
committerLeif Johansson <leifj@sunet.se>2015-05-08 16:07:56 +0200
commit1e8bb5e3ebbfe8c501156a5f512f7d89d5acec2e (patch)
treedf44378344371ebce9fc4c362fb56a51fe66b5f6
parent41f2460e5bbf7b824d43a5c4e6a2e762475301dd (diff)
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp2
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp2
-rw-r--r--global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 3f487c9..4b33e0e 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -281,7 +281,7 @@ node 'sto-tug-kvm-lab1.swamid.se' {
sunet::cloudimage { 'test.sunet.se':
dhcp => false,
repo => 'git://git.nordu.net/sunet-ops.git',
- tag => 'sunet-ops',
+ tagpattrn => 'sunet-ops',
cpus => '1',
memory => '1024',
ip => '130.242.125.88',
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
index 463df42..a8a3bfe 100644
--- a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
+++ b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp
@@ -12,7 +12,7 @@ define sunet::cloudimage (
$ip6 = undef,
$netmask6 = "64",
$gateway6 = undef,
- $tag = undef,
+ $tagpattern = undef,
$repo = undef
)
{
diff --git a/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb b/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb
index a3a9190..c80a84c 100644
--- a/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb
+++ b/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb
@@ -8,7 +8,7 @@ bridge="<%= @bridge %>"
cpus="<%= @cpus %>"
mem="<%= @memory %>"
repo="<%= @repo %>"
-tag="<%= @tag %>"
+tag="<%= @tagpattern %>"
ip="<%= @ip %>"
gateway="<%= @gateway %>"
netmask="<%= @netmask %>"