From: Ismaƫl Bouya Date: Sun, 11 Mar 2018 10:54:19 +0000 (+0100) Subject: Add dns X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=commitdiff_plain;h=684706876cd160d9788028de02317055c35d4d0e Add dns --- diff --git a/environments/production/data/roles/dns.yaml b/environments/production/data/roles/dns.yaml new file mode 100644 index 0000000..0bb6fcc --- /dev/null +++ b/environments/production/data/roles/dns.yaml @@ -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 index 0000000..8e7759d --- /dev/null +++ b/modules/profile/manifests/dns/init.pp @@ -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 index 0000000..203060f --- /dev/null +++ b/modules/role/manifests/dns/master.pp @@ -0,0 +1,5 @@ +class role::dns::master { + include "base_installation" + include "profile::dns" + +}