Add base configuration for proxyin
authorJan Dittberner <jan@dittberner.info>
Sat, 29 Apr 2017 15:39:44 +0000 (17:39 +0200)
committerJan Dittberner <jan@dittberner.info>
Sat, 29 Apr 2017 15:39:44 +0000 (17:39 +0200)
hieradata/nodes/proxyin.yaml [new file with mode: 0644]
sitemodules/roles/manifests/proxyin.pp [new file with mode: 0644]

diff --git a/hieradata/nodes/proxyin.yaml b/hieradata/nodes/proxyin.yaml
new file mode 100644 (file)
index 0000000..e6131f2
--- /dev/null
@@ -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 (file)
index 0000000..daab60a
--- /dev/null
@@ -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
+}