From 01d142f1569aa3608d1dcc31cc484815c25b9996 Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Fri, 2 Aug 2013 02:33:58 +0000 Subject: [PATCH] Fixes selinux Horizon Bug Commit ID: ebeda3c6eecd18abc0af6429144e212034ab7dea introduced a boolean set for selinux. The condition did not properly evaluate the selinux system fact. The condition now evaluates the selinux fact and the selinux string. Change-Id: Ic58726276ca2163823c58feb26fb07644af9685d --- manifests/horizon.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/horizon.pp b/manifests/horizon.pp index 548d94a..39eba7c 100644 --- a/manifests/horizon.pp +++ b/manifests/horizon.pp @@ -101,7 +101,7 @@ class openstack::horizon ( api_result_limit => $api_result_limit, } - if $::selinux { + if $::selinux and $::selinux != 'false' { selboolean{'httpd_can_network_connect': value => on, persistent => true,