summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests/cosmos-site.pp
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp3
1 files changed, 2 insertions, 1 deletions
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']