Compare commits
4 Commits
e0686ad2fc
...
625f66d8c0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
625f66d8c0 | ||
|
|
c20f099570 | ||
| ad2428456a | |||
|
|
9dcbd4dc96 |
@@ -115,7 +115,8 @@
|
|||||||
17
|
17
|
||||||
18
|
18
|
||||||
19
|
19
|
||||||
20</pre>
|
20
|
||||||
|
21</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 6</span>
|
||||||
@@ -131,7 +132,8 @@ class confdroid_haproxy::main::config (
|
|||||||
|
|
||||||
if $hy_selinux_allow_stats == true {
|
if $hy_selinux_allow_stats == true {
|
||||||
exec { 'setsebool haproxy_connect_any on':
|
exec { 'setsebool haproxy_connect_any on':
|
||||||
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
|
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
|
||||||
|
onlyif => '/usr/sbin/getsebool haproxy_connect_any | /usr/bin/grep -q " --> off$"',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ class confdroid_haproxy::main::config (
|
|||||||
|
|
||||||
if $hy_selinux_allow_stats == true {
|
if $hy_selinux_allow_stats == true {
|
||||||
exec { 'setsebool haproxy_connect_any on':
|
exec { 'setsebool haproxy_connect_any on':
|
||||||
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
|
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
|
||||||
|
onlyif => '/usr/sbin/getsebool haproxy_connect_any | /usr/bin/grep -q " --> off$"',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user