summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2016-11-04 22:16:55 +0100
committerroot <root@puppet.intra.cacert.org>2016-11-04 22:16:55 +0100
commit2feedef1756f775d23f9a59a5c2461187bb1cfec (patch)
tree5161570ed386633d2838636a294e34b5f5a63005 /modules
parent49b1092f167ef6541af5d52406c2875acb00413c (diff)
downloadcacert-puppet-2feedef1756f775d23f9a59a5c2461187bb1cfec.tar.gz
cacert-puppet-2feedef1756f775d23f9a59a5c2461187bb1cfec.tar.xz
cacert-puppet-2feedef1756f775d23f9a59a5c2461187bb1cfec.zip
Puppet manifest skeleton
Diffstat (limited to 'modules')
-rw-r--r--modules/profiles/manifests/base.pp7
-rw-r--r--modules/profiles/manifests/init.pp3
-rw-r--r--modules/roles/manifests/init.pp3
-rw-r--r--modules/roles/manifests/puppetmaster.pp4
-rw-r--r--modules/roles/manifests/svnserver.pp4
5 files changed, 21 insertions, 0 deletions
diff --git a/modules/profiles/manifests/base.pp b/modules/profiles/manifests/base.pp
new file mode 100644
index 0000000..cede5d2
--- /dev/null
+++ b/modules/profiles/manifests/base.pp
@@ -0,0 +1,7 @@
+class profiles::base (
+) {
+ # ensure admin users for this container
+ $admins = hiera('users')
+
+ notice { $admins: }
+}
diff --git a/modules/profiles/manifests/init.pp b/modules/profiles/manifests/init.pp
new file mode 100644
index 0000000..49f1f51
--- /dev/null
+++ b/modules/profiles/manifests/init.pp
@@ -0,0 +1,3 @@
+class profiles (
+) {
+}
diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp
new file mode 100644
index 0000000..0b8b1a7
--- /dev/null
+++ b/modules/roles/manifests/init.pp
@@ -0,0 +1,3 @@
+class roles (
+) {
+}
diff --git a/modules/roles/manifests/puppetmaster.pp b/modules/roles/manifests/puppetmaster.pp
new file mode 100644
index 0000000..9cdc95d
--- /dev/null
+++ b/modules/roles/manifests/puppetmaster.pp
@@ -0,0 +1,4 @@
+class roles::puppetmaster (
+) {
+ include profiles::base
+}
diff --git a/modules/roles/manifests/svnserver.pp b/modules/roles/manifests/svnserver.pp
new file mode 100644
index 0000000..f744651
--- /dev/null
+++ b/modules/roles/manifests/svnserver.pp
@@ -0,0 +1,4 @@
+class roles::svnserver (
+) {
+ include profiles::base
+}