summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hieradata/nodes/infra03.yml7
-rw-r--r--sitemodules/roles/manifests/infra03.pp26
2 files changed, 33 insertions, 0 deletions
diff --git a/hieradata/nodes/infra03.yml b/hieradata/nodes/infra03.yml
new file mode 100644
index 0000000..b66befa
--- /dev/null
+++ b/hieradata/nodes/infra03.yml
@@ -0,0 +1,7 @@
+---
+classes:
+ - roles::infra03
+profiles::base::admins:
+ - jandd
+ - dirk
+profiles::base::is_external: true
diff --git a/sitemodules/roles/manifests/infra03.pp b/sitemodules/roles/manifests/infra03.pp
new file mode 100644
index 0000000..ac5dc72
--- /dev/null
+++ b/sitemodules/roles/manifests/infra03.pp
@@ -0,0 +1,26 @@
+# Class: roles::infra03
+# =====================
+#
+# This class defines the infra03 role for the infra03 infrastructure host. You
+# should assign this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::infra03': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2021 Jan Dittberner
+#
+class roles::infra03 {
+ include profiles::base
+ #include profiles::icinga2_satellite
+}