Recommit for updates in build 60
This commit is contained in:
@@ -289,7 +289,9 @@
|
|||||||
191
|
191
|
||||||
192
|
192
|
||||||
193
|
193
|
||||||
194</pre>
|
194
|
||||||
|
195
|
||||||
|
196</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 6</span>
|
||||||
@@ -299,18 +301,19 @@ class confdroid_nagios::main::dirs (
|
|||||||
) inherits confdroid_nagios::params {
|
) inherits confdroid_nagios::params {
|
||||||
require confdroid_nagios::main::install
|
require confdroid_nagios::main::install
|
||||||
|
|
||||||
|
if $ng_nagios_server == $fqdn {
|
||||||
# main directory
|
# main directory
|
||||||
# file { $ng_main_dir:
|
file { $ng_main_dir:
|
||||||
# ensure => directory,
|
ensure => directory,
|
||||||
# path => $ng_main_dir,
|
path => $ng_main_dir,
|
||||||
# owner => 'root',
|
owner => 'root',
|
||||||
# group => 'root',
|
group => 'root',
|
||||||
# mode => '0755',
|
mode => '0755',
|
||||||
# selrange => s0,
|
selrange => s0,
|
||||||
# selrole => object_r,
|
selrole => object_r,
|
||||||
# seltype => nagios_etc_t,
|
seltype => nagios_etc_t,
|
||||||
# seluser => system_u,
|
seluser => system_u,
|
||||||
# }
|
}
|
||||||
|
|
||||||
# /usr/lib64/nagios dir required for plugins
|
# /usr/lib64/nagios dir required for plugins
|
||||||
# file { $ng_lib_dir:
|
# file { $ng_lib_dir:
|
||||||
@@ -482,6 +485,7 @@ class confdroid_nagios::main::dirs (
|
|||||||
# seluser => system_u,
|
# seluser => system_u,
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user