]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add dns dns
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 11 Mar 2018 10:54:19 +0000 (11:54 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 11 Mar 2018 10:54:19 +0000 (11:54 +0100)
environments/production/data/roles/dns.yaml [new file with mode: 0644]
modules/profile/manifests/dns/init.pp [new file with mode: 0644]
modules/role/manifests/dns/master.pp [new file with mode: 0644]

diff --git a/environments/production/data/roles/dns.yaml b/environments/production/data/roles/dns.yaml
new file mode 100644 (file)
index 0000000..0bb6fcc
--- /dev/null
@@ -0,0 +1,5 @@
+---
+classes:
+  installation:
+    stage: "setup"
+
diff --git a/modules/profile/manifests/dns/init.pp b/modules/profile/manifests/dns/init.pp
new file mode 100644 (file)
index 0000000..8e7759d
--- /dev/null
@@ -0,0 +1,3 @@
+class profile::dns {
+  ensure_packages(["bind"])
+}
diff --git a/modules/role/manifests/dns/master.pp b/modules/role/manifests/dns/master.pp
new file mode 100644 (file)
index 0000000..203060f
--- /dev/null
@@ -0,0 +1,5 @@
+class role::dns::master {
+  include "base_installation"
+  include "profile::dns"
+
+}