Only set selinux booleans if selinux is enabled
Testing "selinux" facter fact https://bugzilla.redhat.com/show_bug.cgi?id=892942 Change-Id: I92d4183bb6fb4f6e031ebb1b005c6fa9469b6d59
This commit is contained in:
@@ -27,7 +27,9 @@ firewall { '001 horizon incoming':
|
||||
action => 'accept',
|
||||
}
|
||||
|
||||
selboolean{'httpd_can_network_connect':
|
||||
value => on,
|
||||
persistent => true,
|
||||
if ($::selinux != "false"){
|
||||
selboolean{'httpd_can_network_connect':
|
||||
value => on,
|
||||
persistent => true,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,9 @@ firewall { '001 rsync incoming':
|
||||
action => 'accept',
|
||||
}
|
||||
|
||||
selboolean{'rsync_export_all_ro':
|
||||
value => on,
|
||||
persistent => true,
|
||||
if ($::selinux != "false"){
|
||||
selboolean{'rsync_export_all_ro':
|
||||
value => on,
|
||||
persistent => true,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user