diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-11 11:54:19 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-11 11:54:19 +0100 |
commit | 684706876cd160d9788028de02317055c35d4d0e (patch) | |
tree | 8f3d15a2cba3a89b67b05663f790da85a55ebbad | |
parent | 5081257003019a96fcf96d55cfd6d0049a31fa43 (diff) | |
download | Puppet-dns.tar.gz Puppet-dns.tar.zst Puppet-dns.zip |
Add dnsdns
-rw-r--r-- | environments/production/data/roles/dns.yaml | 5 | ||||
-rw-r--r-- | modules/profile/manifests/dns/init.pp | 3 | ||||
-rw-r--r-- | modules/role/manifests/dns/master.pp | 5 |
3 files changed, 13 insertions, 0 deletions
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 @@ | |||
1 | --- | ||
2 | classes: | ||
3 | installation: | ||
4 | stage: "setup" | ||
5 | |||
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 @@ | |||
1 | class profile::dns { | ||
2 | ensure_packages(["bind"]) | ||
3 | } | ||
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 @@ | |||
1 | class role::dns::master { | ||
2 | include "base_installation" | ||
3 | include "profile::dns" | ||
4 | |||
5 | } | ||