summaryrefslogtreecommitdiffstats
path: root/pillar/global
diff options
context:
space:
mode:
Diffstat (limited to 'pillar/global')
-rw-r--r--pillar/global/init.sls8
-rw-r--r--pillar/global/ssh.sls5
2 files changed, 13 insertions, 0 deletions
diff --git a/pillar/global/init.sls b/pillar/global/init.sls
index 349bd93..a7669ae 100644
--- a/pillar/global/init.sls
+++ b/pillar/global/init.sls
@@ -11,6 +11,14 @@ managed_header_pound: |
{%- if grains['os'] == 'SUSE' %}
zypper:
refreshdb_force: False
+
+firewalld:
+ zones:
+ internal:
+ ports:
+ - comment: node_exporter
+ port: 9200
+ protocol: tcp
{%- endif %}
mine_functions:
diff --git a/pillar/global/ssh.sls b/pillar/global/ssh.sls
index 5d0e59f..8c18a86 100644
--- a/pillar/global/ssh.sls
+++ b/pillar/global/ssh.sls
@@ -30,3 +30,8 @@ sshd_config:
Subsystem: sftp /usr/lib/ssh/sftp-server
Banner: /etc/ssh/banner
+firewalld:
+ zones:
+ internal:
+ services:
+ - ssh