recommit for updates in build 14
This commit is contained in:
@@ -139,7 +139,9 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
40
|
||||
41
|
||||
42
|
||||
43</pre>
|
||||
43
|
||||
44
|
||||
45</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/exec.pp', line 23</span>
|
||||
@@ -152,17 +154,19 @@ class cd_nrpe::main::exec (
|
||||
|
||||
# create policy file fpr sudo selinux policy
|
||||
exec { 'create_nrpe_pp':
|
||||
command => template($ne_checkmodule_nrpe_erb),
|
||||
user => 'root',
|
||||
creates => $ne_nrpe_pp_file,
|
||||
command => template($ne_checkmodule_nrpe_erb),
|
||||
user => 'root',
|
||||
creates => $ne_nrpe_pp_file,
|
||||
refreshonly => true,
|
||||
notify => Exec['import_semodule_nrpe'],
|
||||
}
|
||||
|
||||
# import semodule
|
||||
exec { 'import_semodule_nrpe':
|
||||
command => template($ne_semodule_erb),
|
||||
user => 'root',
|
||||
require => Exec['create_nrpe_pp'],
|
||||
unless => '/sbin/semodule -l | grep nrpe | grep -v nrpe_',
|
||||
command => template($ne_semodule_erb),
|
||||
user => 'root',
|
||||
unless => '/sbin/semodule -l | grep nrpe | grep -v nrpe_',
|
||||
refreshonly => true,
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -186,7 +186,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
87
|
||||
88
|
||||
89
|
||||
90</pre>
|
||||
90
|
||||
91</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 23</span>
|
||||
@@ -256,6 +257,7 @@ class cd_nrpe::main::files (
|
||||
seltype => nrpe_etc_t,
|
||||
seluser => system_u,
|
||||
content => template($ne_nrpe_te_erb),
|
||||
notify => Exec['create_nrpe_pp'],
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
|
||||
Reference in New Issue
Block a user