Browse Source

Merge "Add a daemon-reload to the tripleo-iptables services" into stable/stein

tags/10.6.1
Zuul 1 month ago
parent
commit
9d0a312c3e

+ 6
- 5
deployment/tripleo-firewall/tripleo-firewall-baremetal-puppet.yaml View File

@@ -100,10 +100,6 @@ outputs:
100 100
                   StandardError=syslog
101 101
                   [Install]
102 102
                   WantedBy=basic.target
103
-            - name: enable tripleo-iptables service
104
-              service:
105
-                enabled: yes
106
-                name: tripleo-iptables.service
107 103
             - name: create ip6tables service
108 104
               copy:
109 105
                 dest: /etc/systemd/system/tripleo-ip6tables.service
@@ -122,8 +118,13 @@ outputs:
122 118
                   StandardError=syslog
123 119
                   [Install]
124 120
                   WantedBy=basic.target
121
+            - name: enable tripleo-iptables service (and do a daemon-reload systemd)
122
+              systemd:
123
+                daemon_reload: yes
124
+                enabled: yes
125
+                name: tripleo-iptables.service
125 126
             - name: enable tripleo-ip6tables service
126
-              service:
127
+              systemd:
127 128
                 enabled: yes
128 129
                 name: tripleo-ip6tables.service
129 130
       upgrade_tasks:

Loading…
Cancel
Save