summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hieradata/common.yaml27
-rw-r--r--hieradata/nodes/bugs.yaml8
-rw-r--r--sitemodules/roles/manifests/bugs.pp27
3 files changed, 62 insertions, 0 deletions
diff --git a/hieradata/common.yaml b/hieradata/common.yaml
index e7c4ba8..08af6f7 100644
--- a/hieradata/common.yaml
+++ b/hieradata/common.yaml
@@ -30,5 +30,32 @@ profiles::base::users:
name: default
type: ssh-dss
key: ENC[PKCS7,MIIDvQYJKoZIhvcNAQcDoIIDrjCCA6oCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAFlMnp5/GjTc9u6H7IlFvPb1OCGx+2EkijO0S0jqwIV3u4ZTCGrxxfQR99iW4o4ID1nvkXjecLJzcL+D158tmcnQrVHVJWRobZ+wGYtDRFge03Kh7uZXI+MPQ6ndc2TTRpYPz7XSDrzm2HCAL7vEogeORKsfE8bjAnNEkHy1V/lOixaLa1yYUid1erGKoOyYItBbwH6pMhejTIeLQ1i/er4sWafaiOOof7WsuahN/vYhWzcax17lBcsbPUH8kPcZWz04b+hPVForD2gPnUsL53IX1E/AfcZD1ulcfAPR4KrWEPH6jmM7bhgKnUDBxp2yMCXsm7apMwIiEOXf7rvGUczCCAn4GCSqGSIb3DQEHATAdBglghkgBZQMEASoEEABESUVzMYsINc6QIE29XoaAggJQXiYOQnw99VJuAsjD/jkYix6/+HR48YzmRO/8qX7UqAprAv1bJ3GNLzJe+ibhokFHuj5dk6dfXnAOwGeFrD180TR7BBDIkw1jBwX8p+8mQMeAKv5rF9B3041oGfrxvFrE7lBgYW6pGhaHmycP9/nPmoPYWT+V3OhViVZkhi+3j9MjHgPKa7kTRzbFYo4xmpjYtRN2E3Ftvg6zqgEGtlxlBet22ICNCj9CFoIrvRVP3NQue5sRbQj0KKih+KWfN4gT7GWqhIvKtzESp0vU/WbyDFfEbfON9jFVloo+ndGcLs1k0e3LUpu90lDZ450SWc+DbMi5YlWMN/Cv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07j38MwDohJjdBrWTGnwLwQb3mBD/eSq1m7hKj26cxaxMc7Z7QyH7k6uT0eYh605cdOOt5PrPctiDtoRnwyRDO+g18Acbn]
+ wytze:
+ username: wytze
+ fullname: Wytze van der Ray
+ uid: 1003
+ shell: /bin/bash
+ password: ENC[PKCS7,MIIB2gYJKoZIhvcNAQcDoIIByzCCAccCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAA6BtmpFWXj1Aaqe88NF3b2KAGN5DiEBFj0AMDGyth+YvncerjVYo0nMoG8fBN5LEYHzNuL+5EbnFPuM42U3Mu8gOeZSBbjbd6XKaQYbbS8ILlrZjtaKO+WFTtFHh3O1GyO9HxWb/te/uXGmsEsoLwLiQBcaC7nB2vwhA6XKUIitQBxC3Sg2hxH4wUgXoHR7ZH5iVlmCbc9vvCJZWWxNjhKBTOrRrp+q86eBwMJLE3ekuczMkcIDDZ4EkfbAHYqaaI1wdV1gnRCLX2AW88O3GILtY4V8GboXlZUtymgl5HdKoF7lFPLykRE2tmuRmpaHmLtINeVxPfhSHiQ68aDb0UTCBnAYJKoZIhvcNAQcBMB0GCWCGSAFlAwQBKgQQmkyLO0dsomgfjdHN/rRwEIBwUZdFHCA/v/9uvbvlZwKjrgXNjZnz+qiNqpsFHXqL4hyCiwBc1REgkDYC9o9vApqiMuoz1YbVFj7v8sFPdbqvxE9WubRqZfGOBn4h61s3xns4VY9+qasGMqoOjTIvVzYM2fYKiBmyP+hKZoimn0ZudA==]
+ ssh_keys:
+ -
+ name: default
+ type: ecdsa-sha2-nistp521
+ key: ENC[PKCS7,MIICXAYJKoZIhvcNAQcDoIICTTCCAkkCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAmyFeJSSsLDzOgKZuwRzHiG55YK9x5Z7XDjHLMOiUo+BrGx/zAtocezLv+pTcJ4HrbjE2phfLxmbpm6cjQhgN4/P7brZBWW74+mD01aaKGi79/6ipIMdA3pkiHe3cqY5vcHpPs/PQG/7FCwFr0Wygn30ibX9Z8jl4n7sS9yAcLXxZRND33ssu7Z4/wXb+RY+a5bYPzJiYVH3DteAvVKOhCRCfY28080uPOgIIv801kDliLc4qpSTEi1R3yIjj107xFZJWR+SpljYN2DfMx/97alRqrJf5hgF1WJzqjecR9dgrM/gQ+IovzukFmAwee0U9uVT8yPTxMbg3PQ/niXhLDDCCAR0GCSqGSIb3DQEHATAdBglghkgBZQMEASoEEMl0Ee04qo/XGRy10VJ6b5SAgfB7JwuIqPF8VbFX9ooMAzE0xvPvxP65GldaikFH2IwKthyNAx1wRPc+0Oyi9pYan1aevwRC+UGuRONArdG1w/SPKSRF+oktNZHSUg572dxYP8JqzFrKKGkRRPlEApzUpL0w0STC9Odykh+d2c3KBUkqc5bHGMyGeJS19nnWGEx3q80Yeen6nr9XuCBACWT1PRDzekWs/hMKcgksCbijS7TDNBjyUvQDU6TaMyMb0rfzesMkcNB3ZchgFT0kCL09trjpbrfz9oCw5yvGkan1gkF6mzcpaUIhjZ6EyhYeywVGU8c/cDFi2FphiWKVnHSC95c=]
+
profiles::nrpe_agent::allowed_hosts:
- 172.16.2.18
diff --git a/hieradata/nodes/bugs.yaml b/hieradata/nodes/bugs.yaml
new file mode 100644
index 0000000..d49785e
--- /dev/null
+++ b/hieradata/nodes/bugs.yaml
@@ -0,0 +1,8 @@
+---
+classes:
+ - roles::bugs
+profiles::base::admins:
+ - dirk
+ - jandd
+ - law
+ - wytze
diff --git a/sitemodules/roles/manifests/bugs.pp b/sitemodules/roles/manifests/bugs.pp
new file mode 100644
index 0000000..99756a3
--- /dev/null
+++ b/sitemodules/roles/manifests/bugs.pp
@@ -0,0 +1,27 @@
+# Class: roles::bugs
+# ==================
+#
+# This class defines the bugs role for the mantis bugtracker. You should assign
+# this class using hiera or via an ENC.
+#
+# Examples
+# --------
+#
+# @example
+# class { 'roles::bugs': }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2018 Jan Dittberner
+#
+class roles::bugs {
+ include profiles::base
+ include profiles::rsyslog
+ include profiles::nrpe_agent
+}