summaryrefslogtreecommitdiffstats
path: root/puppet/opnfv/manifests/init.pp
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2015-01-26 15:40:43 -0500
committerDan Radez <dradez@redhat.com>2015-01-26 16:04:55 -0500
commit09247c2eca21891be5b04eda08a23d4a866a3b84 (patch)
treea1b0bdbc71867537779605ea91c6673ce6e5aba4 /puppet/opnfv/manifests/init.pp
parent557e59792133b3c1867170126f3e646018abc388 (diff)
adding puppet code for installation
Change-Id: I97fa75fdef058e64666dc73567cdce904d6ffc72 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'puppet/opnfv/manifests/init.pp')
-rw-r--r--puppet/opnfv/manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/opnfv/manifests/init.pp b/puppet/opnfv/manifests/init.pp
new file mode 100644
index 0000000..9c00fdd
--- /dev/null
+++ b/puppet/opnfv/manifests/init.pp
@@ -0,0 +1,10 @@
+class opnfv {
+ # cent rpms don't setup selinux
+ # correctly for ovs to set odl as
+ # its manager. disabling it till
+ # that's fixed.
+ exec {'disable selinux':
+ command => '/usr/sbin/setenforce 0',
+ unless => '/usr/sbin/getenforce | grep Permissive',
+ }
+}