From d3071deb031b6c5b677da45a0b244ebe0e9ea4dd Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 23 Mar 2018 09:56:53 -0400 Subject: [PATCH] Create review group for hieradata Rather then creating per fqdn hiera entries for secrets, move to use a group. This avoids the need to duplicate data. Change-Id: I2208343b5281f70fc0850c0fe4e85038a53ed189 Signed-off-by: Paul Belanger --- manifests/site.pp | 2 ++ modules/openstack_project/files/puppetmaster/groups.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index ea6dfd3fbb..22924c055b 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -67,6 +67,8 @@ node 'review.openstack.org' { # Node-OS: xenial node 'review01.openstack.org' { + $group = "review" + $iptables_rules = ['-p tcp --syn --dport 29418 -m connlimit --connlimit-above 100 -j REJECT'] class { 'openstack_project::server': diff --git a/modules/openstack_project/files/puppetmaster/groups.txt b/modules/openstack_project/files/puppetmaster/groups.txt index 7cb8fe6835..91b075b845 100644 --- a/modules/openstack_project/files/puppetmaster/groups.txt +++ b/modules/openstack_project/files/puppetmaster/groups.txt @@ -12,6 +12,7 @@ git-loadbalancer ~git(-fe\d+)?\.openstack\.org git-server ~git\d+\.openstack\.org logstash-worker ~logstash-worker\d+\.openstack\.org nodepool nodepool*.openstack.org:nb*.openstack.org:nl*.openstack.org +review ~review\d+\.openstack\.org review-dev ~review-dev\d*\.openstack\.org subunit-worker ~subunit-worker\d+\.openstack\.org translate ~translate\d+\.openstack\.org