summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2017-05-13 13:20:23 +0200
committerJan Dittberner <jandd@cacert.org>2017-05-13 13:21:29 +0200
commit0c639b0db96a9ca84f1e12027bd48bdcd2fad638 (patch)
treedb05bfb9c27eb9a0f7fe822a89b6f9f0d0b48b5e
parentc0430c1f6303ab64c28393ccd47744e4641c92d4 (diff)
downloadcacert-puppet-0c639b0db96a9ca84f1e12027bd48bdcd2fad638.tar.gz
cacert-puppet-0c639b0db96a9ca84f1e12027bd48bdcd2fad638.tar.xz
cacert-puppet-0c639b0db96a9ca84f1e12027bd48bdcd2fad638.zip
Add new node proxyout
-rw-r--r--hieradata/nodes/proxyout.yaml6
-rw-r--r--sitemodules/roles/manifests/proxyout.pp25
2 files changed, 31 insertions, 0 deletions
diff --git a/hieradata/nodes/proxyout.yaml b/hieradata/nodes/proxyout.yaml
new file mode 100644
index 0000000..47c228c
--- /dev/null
+++ b/hieradata/nodes/proxyout.yaml
@@ -0,0 +1,6 @@
+---
+classes:
+ - roles::proxyout
+profiles::base::admins:
+ - jandd
+ - law
diff --git a/sitemodules/roles/manifests/proxyout.pp b/sitemodules/roles/manifests/proxyout.pp
new file mode 100644
index 0000000..257a7cf
--- /dev/null
+++ b/sitemodules/roles/manifests/proxyout.pp
@@ -0,0 +1,25 @@
+# Class: roles::proxyout
+# =====================
+#
+# This class defines the inproxy role for incoming proxy servers. You should
+# assign this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::proxyout': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2017 Jan Dittberner
+#
+class roles::proxyout {
+ include profiles::base
+}