summaryrefslogtreecommitdiff
path: root/global/overlay
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-05-22 22:10:07 +0200
committerLeif Johansson <leifj@sunet.se>2015-05-22 22:10:07 +0200
commit6d8abf623dfe3f0a20ffddf4d977ec82a462c332 (patch)
treedf59b2b24ca6630e10f087858955b68a82f049d6 /global/overlay
parent635a62002768849b86b797544d4030001d8a1bbc (diff)
basic classes to stick on vm'sct-ops-2015-05-22-v03
Diffstat (limited to 'global/overlay')
-rw-r--r--global/overlay/etc/puppet/manifests/catlfish/signing.pp17
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp13
2 files changed, 30 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/catlfish/signing.pp b/global/overlay/etc/puppet/manifests/catlfish/signing.pp
new file mode 100644
index 0000000..2c255df
--- /dev/null
+++ b/global/overlay/etc/puppet/manifests/catlfish/signing.pp
@@ -0,0 +1,17 @@
+define catlfish::signing(
+ $image = 'docker.sunet.se/ctct/catlfish-dev-lunahsm',
+ $version = 'latest'
+)
+{
+ sunet::docker_run {'${name}_signing':
+ image => $image,
+ imagetag => $version,
+ volumes => ["/data/${name}/catlfish:/usr/local/etc/catlfish:ro"],
+ ports => ["8188:8188"],
+ command => ["signing"]
+ }
+ ufw:allow { "${name}-allow-8188-acl0":
+ ip => '130.242.125.0/24',
+ port => 8081
+ }
+}
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 5de00b6..1499e64 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -148,3 +148,16 @@ node 'm0.ct.nordu.net' {
resolver => '130.242.80.14 130.242.80.99'
}
}
+
+class frontend {
+ catlfish::frontend { 'urd': }
+ catlfish::storage { 'urd': }
+}
+
+class merge {
+ catlfish::merge {'urd': }
+}
+
+class signing {
+ catlfish::signing {'urd': }
+}