From e1e34a864356089814686caf3a2fbce193ded6ff Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 15 Sep 2019 16:08:35 +0200 Subject: [PATCH] pubsub -> hiera role --- hieradata/common.yaml | 3 --- hieradata/nodes/rainier.debian.org.yaml | 3 +++ hieradata/nodes/rapoport.debian.org.yaml | 3 +++ modules/roles/manifests/init.pp | 4 ---- 4 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 hieradata/nodes/rainier.debian.org.yaml create mode 100644 hieradata/nodes/rapoport.debian.org.yaml diff --git a/hieradata/common.yaml b/hieradata/common.yaml index 7796a1bbe..ca45b2db3 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -73,9 +73,6 @@ roles: - quantz.debian.org popcon: - pinel.debian.org - pubsub: - - rainier.debian.org - - rapoport.debian.org qamaster: - quantz.debian.org rtmaster: diff --git a/hieradata/nodes/rainier.debian.org.yaml b/hieradata/nodes/rainier.debian.org.yaml new file mode 100644 index 000000000..b2dd38424 --- /dev/null +++ b/hieradata/nodes/rainier.debian.org.yaml @@ -0,0 +1,3 @@ +--- +classes: + - roles::pubsub diff --git a/hieradata/nodes/rapoport.debian.org.yaml b/hieradata/nodes/rapoport.debian.org.yaml new file mode 100644 index 000000000..b2dd38424 --- /dev/null +++ b/hieradata/nodes/rapoport.debian.org.yaml @@ -0,0 +1,3 @@ +--- +classes: + - roles::pubsub diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index d298086e4..63ec89d9b 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -78,10 +78,6 @@ class roles { include roles::mailrelay } - if has_role('pubsub') { - include roles::pubsub - } - if has_role('dns_primary') { include roles::dns_primary } -- 2.20.1