diff --git a/packstack/puppet/templates/horizon.pp b/packstack/puppet/templates/horizon.pp index 2ab43beda..4af865a7d 100644 --- a/packstack/puppet/templates/horizon.pp +++ b/packstack/puppet/templates/horizon.pp @@ -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, + } } diff --git a/packstack/puppet/templates/swift_builder.pp b/packstack/puppet/templates/swift_builder.pp index 95ae1049f..c5ea67fa8 100644 --- a/packstack/puppet/templates/swift_builder.pp +++ b/packstack/puppet/templates/swift_builder.pp @@ -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, + } }