From 8a6e3d41723b3d212a49c895c31bd4d48febfd33 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 17 Apr 2015 08:44:49 +0200 Subject: registrator hostname --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 7 ++++--- 1 file 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" } } -- cgit v1.1