From 5bfc1046ea460e69f156b5b95723ca44251caf97 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 15 Sep 2019 00:34:31 +0200 Subject: [PATCH] rtc -> hiera role --- hieradata/common.yaml | 2 -- hieradata/nodes/vogler.debian.org.yaml | 2 ++ modules/roles/manifests/init.pp | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 hieradata/nodes/vogler.debian.org.yaml diff --git a/hieradata/common.yaml b/hieradata/common.yaml index 033961022..f75b60921 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -110,8 +110,6 @@ roles: - quantz.debian.org rtmaster: - reger.debian.org - rtc: - - vogler.debian.org search_backend: - wolkenstein.debian.org search_frontend: diff --git a/hieradata/nodes/vogler.debian.org.yaml b/hieradata/nodes/vogler.debian.org.yaml new file mode 100644 index 000000000..d8e7fb5a6 --- /dev/null +++ b/hieradata/nodes/vogler.debian.org.yaml @@ -0,0 +1,2 @@ +classes: + - roles::rtc diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 4d10b92c0..8130551b3 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -175,10 +175,6 @@ class roles { include roles::nm } - if has_role('rtc') { - include roles::rtc - } - if has_role('postgres_backup_server') { include postgres::backup_server } -- 2.20.1