diff --git a/pillar/id/nue-ns1_infra_opensuse_org.sls b/pillar/id/nue-ns1_infra_opensuse_org.sls index b4e5f5f..0e060a6 100644 --- a/pillar/id/nue-ns1_infra_opensuse_org.sls +++ b/pillar/id/nue-ns1_infra_opensuse_org.sls @@ -3,13 +3,15 @@ grains: country: de hostusage: - DNS - roles: [] + roles: + - dns reboot_safe: yes salt_cluster: opensuse virt_cluster: atreju aliases: - ns1.infra.opensuse.org + - ns1.opensuse.org description: Public DNS server for the opensuse.org domain (not reverse) documentation: - https://progress.opensuse.org/projects/opensuse-admin-wiki/wiki/DNS @@ -17,6 +19,6 @@ grains: - lrupp partners: - nue-ns2.infra.opensuse.org - - qsc-ns4.infra.opensuse-org + - qsc-ns3.infra.opensuse-org - provo-ns.infra.opensuse.org weburls: [] diff --git a/pillar/id/nue-ns2_infra_opensuse_org.sls b/pillar/id/nue-ns2_infra_opensuse_org.sls index 53bc04a..00467a2 100644 --- a/pillar/id/nue-ns2_infra_opensuse_org.sls +++ b/pillar/id/nue-ns2_infra_opensuse_org.sls @@ -3,13 +3,15 @@ grains: country: de hostusage: - DNS - roles: [] + roles: + - dns reboot_safe: yes salt_cluster: opensuse virt_cluster: atreju aliases: - ns2.infra.opensuse.org + - ns2.opensuse.org description: Public DNS server for the opensuse.org domain (not reverse) documentation: - https://progress.opensuse.org/projects/opensuse-admin-wiki/wiki/DNS @@ -17,6 +19,6 @@ grains: - lrupp partners: - nue-ns1.infra.opensuse.org - - qsc-ns4.infra.opensuse-org + - qsc-ns3.infra.opensuse-org - provo-ns.infra.opensuse.org weburls: [] diff --git a/pillar/id/provo-ns_infra_opensuse_org.sls b/pillar/id/provo-ns_infra_opensuse_org.sls index 6afb386..5c33aa8 100644 --- a/pillar/id/provo-ns_infra_opensuse_org.sls +++ b/pillar/id/provo-ns_infra_opensuse_org.sls @@ -3,7 +3,8 @@ grains: country: us hostusage: - DNS - roles: [] + roles: + - dns reboot_safe: yes salt_cluster: opensuse virt_cluster: bryce diff --git a/pillar/id/qsc-ns3_infra_opensuse_org.sls b/pillar/id/qsc-ns3_infra_opensuse_org.sls index 64eaad4..67457c0 100644 --- a/pillar/id/qsc-ns3_infra_opensuse_org.sls +++ b/pillar/id/qsc-ns3_infra_opensuse_org.sls @@ -3,7 +3,8 @@ grains: country: de-qsc hostusage: - DNS - roles: [] + roles: + - dns reboot_safe: yes salt_cluster: opensuse virt_cluster: slimhat diff --git a/salt/profile/dns/init.sls b/salt/profile/dns/init.sls new file mode 100644 index 0000000..0320d50 --- /dev/null +++ b/salt/profile/dns/init.sls @@ -0,0 +1,2 @@ +include: + - profile.dns.named diff --git a/salt/profile/dns/named.sls b/salt/profile/dns/named.sls new file mode 100644 index 0000000..7b5a972 --- /dev/null +++ b/salt/profile/dns/named.sls @@ -0,0 +1,7 @@ +bind_pgks: + pkg.installed: + - pkgs: + - bind + - bind-chrootenv + - bind-utils + - monitoring-plugins-bind9 diff --git a/salt/role/dns.sls b/salt/role/dns.sls new file mode 100644 index 0000000..1c31cf5 --- /dev/null +++ b/salt/role/dns.sls @@ -0,0 +1,2 @@ +include: + - profile.dns