summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-04-29 17:39:44 +0200
committerJan Dittberner <jan@dittberner.info>2017-04-29 17:39:44 +0200
commitc0430c1f6303ab64c28393ccd47744e4641c92d4 (patch)
tree76bd69d811ef0e325da9ca87de3de6beceb146b6
parent62c1e973c5a008e4403a4e0ec09d6e6769ec5fbf (diff)
downloadcacert-puppet-c0430c1f6303ab64c28393ccd47744e4641c92d4.tar.gz
cacert-puppet-c0430c1f6303ab64c28393ccd47744e4641c92d4.tar.xz
cacert-puppet-c0430c1f6303ab64c28393ccd47744e4641c92d4.zip
Add base configuration for proxyin
-rw-r--r--hieradata/nodes/proxyin.yaml5
-rw-r--r--sitemodules/roles/manifests/proxyin.pp25
2 files changed, 30 insertions, 0 deletions
diff --git a/hieradata/nodes/proxyin.yaml b/hieradata/nodes/proxyin.yaml
new file mode 100644
index 0000000..e6131f2
--- /dev/null
+++ b/hieradata/nodes/proxyin.yaml
@@ -0,0 +1,5 @@
+---
+classes:
+ - roles::proxyin
+profiles::base::admins:
+ - jandd
diff --git a/sitemodules/roles/manifests/proxyin.pp b/sitemodules/roles/manifests/proxyin.pp
new file mode 100644
index 0000000..daab60a
--- /dev/null
+++ b/sitemodules/roles/manifests/proxyin.pp
@@ -0,0 +1,25 @@
+# Class: roles::proxyin
+# =====================
+#
+# 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::proxyin': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2017 Jan Dittberner
+#
+class roles::proxyin {
+ include profiles::base
+}