summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2020-05-17 08:48:14 +0200
committerJan Dittberner <jandd@cacert.org>2020-05-17 08:51:00 +0200
commite19b0451d3f692b11f13657406e818f7fc93c7f8 (patch)
treef6d4b3b3c9215ea9237bf04a453c198225d64c3b
parentf6909a885108099004e18315e4b8433a9be4ea8d (diff)
downloadcacert-puppet-HEAD.tar.gz
cacert-puppet-HEAD.tar.xz
cacert-puppet-HEAD.zip
Add git container to PuppetHEADmaster
-rw-r--r--hieradata/nodes/git.yaml18
-rw-r--r--sitemodules/roles/manifests/git.pp28
2 files changed, 46 insertions, 0 deletions
diff --git a/hieradata/nodes/git.yaml b/hieradata/nodes/git.yaml
new file mode 100644
index 0000000..4916473
--- /dev/null
+++ b/hieradata/nodes/git.yaml
@@ -0,0 +1,18 @@
+---
+classes:
+ - roles::git
+profiles::base::admins:
+ - dirk
+ - jandd
+ - law
+profiles::icinga2_agent::pki_ticket: >
+ ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
+ DQYJKoZIhvcNAQEBBQAEggEAicLOD4qZ/TcPgGkP3umuFlFULVt0+2Kc6cw2
+ TtRS/9fBxBNykYPKIKwkCf1pvx4iZMHk+cCzmi2jJUgSual0AYMx5+Ax+tzW
+ FQGYv8U2fzC8yCvY0xRMe/pls58rrUxVRN4EcFEa+NWIGiIM84ds5qdCY5SY
+ g2hhJql3N1KPeO9TMWKvrQjL6ZKvHgOg71KrP0+TnYBUbZDRPnklNnvVCCj5
+ 4i+l+pgI0H4eEO2vysI6xFwC8ntxOqo4rJTAmLypKvshDpHPdgWShnBtcQq1
+ 4yxr5ZTY22pXD5k7cVRtPn4WyW8ackk3be4BH0AtUd4vA6Wx+bJ7qLw9kd/G
+ yZSmjzBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCJyEfssCaSbBwlVn8O
+ qWALgDBDQ/V8TsmywwNNLfl37qfDD/xaT7aqWvhsZsvBl1Z9/go4u4gtxKju
+ Ga7tgV79rn8=]
diff --git a/sitemodules/roles/manifests/git.pp b/sitemodules/roles/manifests/git.pp
new file mode 100644
index 0000000..55d81b9
--- /dev/null
+++ b/sitemodules/roles/manifests/git.pp
@@ -0,0 +1,28 @@
+# Class: roles::git
+# =================
+#
+# This class defines the git role for the git server. You should assign this
+# class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::git': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2020 Jan Dittberner
+#
+class roles::git {
+ include profiles::base
+ include profiles::rsyslog
+ include profiles::purge_nrpe_agent
+ include profiles::icinga2_agent
+}