summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-04-14 12:10:47 +0200
committerLeif Johansson <leifj@sunet.se>2015-04-14 12:10:47 +0200
commit9881de1ec8952e31b6868a016b579450d3daa069 (patch)
tree5a7c6ff3271656e8615f2271917a902d374570bd
parentba7258ce70516b1dee8437b57a3e713382699e5f (diff)
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/etcd_node.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/etcd_node.pp b/global/overlay/etc/puppet/modules/sunet/manifests/etcd_node.pp
index a6659b2..6a61f89 100644
--- a/global/overlay/etc/puppet/modules/sunet/manifests/etcd_node.pp
+++ b/global/overlay/etc/puppet/modules/sunet/manifests/etcd_node.pp
@@ -4,13 +4,13 @@ define sunet::etcd_node(
) {
file { ["/data","/data/${name}","/data/${name}/${::hostname}"]: ensure => 'directory' }
sunet::docker_run { "etcd_${name}":
- image => 'quay.io/coreos/etcd',
- version => $etcd_version,
+ image => 'quay.io/coreos/etcd',
+ imagetag => $etcd_version,
extra_parameters => ["-initial-advertise-peer-urls http://${::ipaddress_eth1}:2380",
"-listen-peer-urls http://${::ipaddress_eth1}:2380",
"-discovery ${disco_url}",
"-name ${::hostname}",
"-data-dir /data/${name}/${::hostname}"],
- ports => ["2380:2380"]
+ ports => ["2380:2380"]
}
}