diff options
-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 | } | ||