aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-10-04 10:11:55 -0400
committerDan Prince <dprince@redhat.com>2016-10-04 10:11:55 -0400
commit39c9c6508a43b7c705f4f206e1093080c921b7d6 (patch)
treef66b5c80f8b8fa51acbe55688e2bb0120ea8207f
parent264d49a255024eba9ea3bf2086c63e9d49b6da11 (diff)
Cleanup the firewall logic.
We added code in t-h-t to strip empty services from the service_names list. (These are often the result of a service set to OS::Heat::None). As such we can now drop this puppet reject statement. Change-Id: Ie66f14f183de7e44a1f69af862f7d4be9a14c904
-rw-r--r--manifests/firewall.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/firewall.pp b/manifests/firewall.pp
index edcb5e7..3184cd3 100644
--- a/manifests/firewall.pp
+++ b/manifests/firewall.pp
@@ -102,7 +102,7 @@ class tripleo::firewall(
# dport: 999
# proto: udp
# action: accept
- $service_names = reject(hiera('service_names', []), '^$')
+ $service_names = hiera('service_names', [])
tripleo::firewall::service_rules { $service_names: }
}