diff options
author | Jan Dittberner <jandd@cacert.org> | 2019-08-12 23:57:59 +0200 |
---|---|---|
committer | Jan Dittberner <jandd@cacert.org> | 2019-08-12 23:57:59 +0200 |
commit | 43cbfd814922825dabc73fe483413a8b942f378a (patch) | |
tree | 57b8b61126b86dd4f65360f3e2acf33e81db8034 | |
parent | 038a3dc5d438e7c63ea83a4ed5e68fd7cc883b0a (diff) | |
download | cacert-puppet-43cbfd814922825dabc73fe483413a8b942f378a.tar.gz cacert-puppet-43cbfd814922825dabc73fe483413a8b942f378a.tar.xz cacert-puppet-43cbfd814922825dabc73fe483413a8b942f378a.zip |
Add base configuration for community
-rw-r--r-- | hieradata/nodes/community.yaml | 18 | ||||
-rw-r--r-- | sitemodules/roles/manifests/community.pp | 27 |
2 files changed, 45 insertions, 0 deletions
diff --git a/hieradata/nodes/community.yaml b/hieradata/nodes/community.yaml new file mode 100644 index 0000000..7485ac4 --- /dev/null +++ b/hieradata/nodes/community.yaml @@ -0,0 +1,18 @@ +--- +classes: + - roles::community +profiles::base::admins: + - jandd + - law + - jselzer +profiles::icinga2_agent::pki_ticket: > + ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw + DQYJKoZIhvcNAQEBBQAEggEARHUYarivf3GhHB+uKLA9AD0uCJJqBJjzt3+N + wreJZ79ehkkb1LIU720ipwRPTtP+a6Gjx1rfQJO8YwB1ZwDeB7aYc+1ZHcVF + kAHOu5WkonpGCDMHfTJu3NUAa1O9qla8W4cdyLh/n7wJS3hqFJrDa0SxdlLN + xvsqxNtrEjWa9ADiC+Tbt6IWGkLKZrs/T0C3zPMUc3lTXSyWDDFPPaAUj1Sk + 9OhOw00j+3BcYSIb0J8h92dNohLS5saGXMf+mwqt2FZWDyJ8YbzJCItmhhMH + S/Bmsc4dsT5VPgFew/5FOrR5/8whEu9gUFcP8FbLGEXtClUylWhAf6aK6cxM + 2Yt+/jBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBv/L7t0DBN3lDygcWV + AAa/gDAEkxZMiQL9ZuZ6KaLVzv3FNr+ACIvytNoi9JxLTX/PTpygEmRb35Fq + xS+ioIVEWOE=] diff --git a/sitemodules/roles/manifests/community.pp b/sitemodules/roles/manifests/community.pp new file mode 100644 index 0000000..306bd9a --- /dev/null +++ b/sitemodules/roles/manifests/community.pp @@ -0,0 +1,27 @@ +# Class: roles::community +# ======================= +# +# This class defines the community role for the community server. You should +# assign this class using hiera or via an ENC. +# +# Examples +# -------- +# +# @example +# class { 'roles::community': } +# +# Authors +# ------- +# +# Jan Dittberner <jandd@cacert.org> +# +# Copyright +# --------- +# +# Copyright 2019 Jan Dittberner +# +class roles::community { + include profiles::base + include profiles::rsyslog + include profiles::icinga2_agent +} |