Bryan Kearney
2008-Dec-22 16:04 UTC
[Ovirt-devel] [PATCH PuppetInstaller] Use lokkit to disable selinux
--- ace-ovirt/modules/ovirt/manifests/ovirt.pp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ace-ovirt/modules/ovirt/manifests/ovirt.pp b/ace-ovirt/modules/ovirt/manifests/ovirt.pp index 36e364f..b3d5756 100644 --- a/ace-ovirt/modules/ovirt/manifests/ovirt.pp +++ b/ace-ovirt/modules/ovirt/manifests/ovirt.pp @@ -80,6 +80,10 @@ class ovirt::setup { command => "/usr/bin/ovirt-add-host $ipa_host /usr/share/ovirt-server/ovirt.keytab", require => Package[ovirt-server] } + + exec { "disable_selinux" : + command => "/usr/sbin/lokkit --selinux=disabled" + } service {"httpd" : enable => true, -- 1.6.0.4
Joey Boggs
2008-Dec-22 17:12 UTC
[Ovirt-devel] [PATCH PuppetInstaller] Use lokkit to disable selinux
ack applied Bryan Kearney wrote:> --- > ace-ovirt/modules/ovirt/manifests/ovirt.pp | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/ace-ovirt/modules/ovirt/manifests/ovirt.pp b/ace-ovirt/modules/ovirt/manifests/ovirt.pp > index 36e364f..b3d5756 100644 > --- a/ace-ovirt/modules/ovirt/manifests/ovirt.pp > +++ b/ace-ovirt/modules/ovirt/manifests/ovirt.pp > @@ -80,6 +80,10 @@ class ovirt::setup { > command => "/usr/bin/ovirt-add-host $ipa_host /usr/share/ovirt-server/ovirt.keytab", > require => Package[ovirt-server] > } > + > + exec { "disable_selinux" : > + command => "/usr/sbin/lokkit --selinux=disabled" > + } > > service {"httpd" : > enable => true, >