summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests/catlfish/storage.pp
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/puppet/manifests/catlfish/storage.pp')
-rw-r--r--global/overlay/etc/puppet/manifests/catlfish/storage.pp22
1 files changed, 0 insertions, 22 deletions
diff --git a/global/overlay/etc/puppet/manifests/catlfish/storage.pp b/global/overlay/etc/puppet/manifests/catlfish/storage.pp
deleted file mode 100644
index f7b7de5..0000000
--- a/global/overlay/etc/puppet/manifests/catlfish/storage.pp
+++ /dev/null
@@ -1,22 +0,0 @@
-define catlfish::storage(
- $logname = undef,
- $image = 'docker.sunet.se/ctct/catlfish-dev',
- $version = 'latest'
-)
-{
- $base = '/var/local/db'
- $db = "${base}/${logname}"
- file {$base: ensure => directory } ->
- file {$db: ensure => directory } ->
- sunet::docker_run {"${name}_catlfish":
- image => $image,
- imagetag => $version,
- volumes => ["/usr/local/etc/catlfish:/usr/local/etc/catlfish:ro","${db}:/var/local/db/catlfish"],
- ports => ["8081:8081"],
- command => ["storage ${name} ${logname}"]
- }
- ufw:allow { "${name}-allow-8081-acl0":
- ip => '130.242.125.0/24',
- port => 8081
- }
-}