3
0

Recommit for updates in build 15

This commit is contained in:
2025-10-23 18:03:13 +02:00
parent c286a25a83
commit dc7588279a

View File

@@ -189,7 +189,16 @@
91 91
92 92
93 93
94</pre> 94
95
96
97
98
99
100
101
102
103</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/r10k/webhook.pp', line 6</span> <pre class="code"><span class="info file"># File 'manifests/r10k/webhook.pp', line 6</span>
@@ -216,6 +225,15 @@ class puppet_cd::r10k::webhook (
seluser =&gt; system_u, seluser =&gt; system_u,
} }
# create the log file
file { &#39;/var/log/r10k-webhook.log&#39;:
ensure =&gt; file,
owner =&gt; &#39;puppet&#39;,
group =&gt; &#39;puppet&#39;,
mode =&gt; &#39;0644&#39;,
require =&gt; File[&#39;/opt/r10k-webhook&#39;],
}
# create the requirements file # create the requirements file
file { $pt_r10k_req_file: file { $pt_r10k_req_file:
ensure =&gt; file, ensure =&gt; file,
@@ -227,7 +245,7 @@ class puppet_cd::r10k::webhook (
seltype =&gt; puppet_etc_t, seltype =&gt; puppet_etc_t,
seluser =&gt; system_u, seluser =&gt; system_u,
content =&gt; template($pt_r10k_req_erb), content =&gt; template($pt_r10k_req_erb),
require =&gt; File[&#39;/opt/r10k-webhook&#39;], require =&gt; File[&#39;/var/log/r10k-webhook.log&#39;],
} }
# create the binary file # create the binary file