From 9881de1ec8952e31b6868a016b579450d3daa069 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 14 Apr 2015 12:10:47 +0200 Subject: more etcd work --- global/overlay/etc/puppet/modules/sunet/manifests/etcd_node.pp | 6 +++--- 1 file 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"] } } -- cgit v1.1