Compare commits

..

4 Commits

Author SHA1 Message Date
Jenkins Server
625f66d8c0 Recommit for updates in build 12 2026-09-07 14:56:09 +02:00
Jenkins Server
c20f099570 Merge remote-tracking branch 'origin/master' into jenkins-build-12 2026-09-07 14:55:06 +02:00
ad2428456a OP#706 extend exec to run only if found off 2026-09-07 14:54:48 +02:00
Jenkins Server
9dcbd4dc96 Recommit for updates in build 11 2026-09-05 14:49:34 +02:00
2 changed files with 6 additions and 3 deletions

View File

@@ -115,7 +115,8 @@
17
18
19
20</pre>
20
21</pre>
</td>
<td>
<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 {
exec { &#39;setsebool haproxy_connect_any on&#39;:
path =&gt; [&#39;/bin&#39;, &#39;/usr/bin&#39;, &#39;/sbin&#39;, &#39;/usr/sbin&#39;],
path =&gt; [&#39;/bin&#39;, &#39;/usr/bin&#39;, &#39;/sbin&#39;, &#39;/usr/sbin&#39;],
onlyif =&gt; &#39;/usr/sbin/getsebool haproxy_connect_any | /usr/bin/grep -q &quot; --&gt; off$&quot;&#39;,
}
}
}</pre>

View File

@@ -14,7 +14,8 @@ class confdroid_haproxy::main::config (
if $hy_selinux_allow_stats == true {
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$"',
}
}
}