summaryrefslogtreecommitdiff
path: root/global
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-04-17 08:44:49 +0200
committerLeif Johansson <leifj@sunet.se>2015-04-17 08:44:49 +0200
commit8a6e3d41723b3d212a49c895c31bd4d48febfd33 (patch)
tree544fa673262290deb0f48e99c43a51831663b000 /global
parent731cf78d789dc03d8a61aa0b6f5a648476b713ad (diff)
registrator hostnamesunet-ops-2015-04-17-v10
Diffstat (limited to 'global')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index a967293..3556031 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -828,10 +828,11 @@ class quantis {
class webcommon {
file {"/data": ensure => directory }
sunet::docker_run{"web_registrator":
- image => "gliderlabs/registrator",
+ image => "gliderlabs/registrator",
imagetag => "latest",
- volumes => ["/var/run/docker.sock:/tmp/docker.sock"],
- command => "etcd://${::ipaddress_docker0}:4001/services"
+ hostname => "${::fqdn}",
+ volumes => ["/var/run/docker.sock:/tmp/docker.sock"],
+ command => "etcd://${::ipaddress_docker0}:4001/services"
}
}