From 33a2c27556ccf0e13982f65ae0af5cfebc4d5f28 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 23 Sep 2015 14:57:13 +0200 Subject: include dockerhost --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'global/overlay') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 1acdbc7..fe95f0d 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -166,12 +166,13 @@ node 'docker.sunet.se' { } define pyff($dir) { + ensure_resource('class', 'sunet::dockerhost', {}) sunet::docker_run {'pyff_${name}': image => 'docker.samlbits.net/pyff', volumes => ["${dir}:${dir}"], env => ['DATADIR=${dir}','LOGLEVEL=INFO'] } - docker::run {'varnish_${name}': + sunet::docker_run {'varnish_${name}': image => 'docker.samlbits.net/varnish', env => ['BACKEND_PORT=tcp://pyff.varnish:80'], ports => ['80:80'] -- cgit v1.1