[node-patches] Change in ovirt-node[master]: rhevh7-post: keep files in /var/lib/puppet

dougsland at redhat.com dougsland at redhat.com
Tue Sep 16 17:36:34 UTC 2014


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: rhevh7-post: keep files in /var/lib/puppet
......................................................................

rhevh7-post: keep files in /var/lib/puppet

Update /etc/rwtab to use files /var/lib/puppet to keep
all files under this dir. Without this patch, the dir
is empty and puppet plugin cannot locate ovirt.rb.
Thanks Ryan Barry for the catch.

Change-Id: Ida7a2ec780ca5bc28343d503052b6770278e74b7
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1128523
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/rhevh7-post.ks
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/00/33000/1

diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 5672457..b09b7ba 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -32,6 +32,10 @@
 sed -i '/rm -f \/etc\/ntp.conf/d' $DHSCRIPT
 sed -i '/rm -f \/etc\/yp.conf/d' $DHSCRIPT
 
+# bz#1128523 - without setting files, we won't keep the files which lives there
+sed -ie 's/dirs[ \t]\+\(.*puppet\)//1' /etc/rwtab
+echo "files     /var/lib/puppet" >> /etc/rwtab
+
 # rhbz#734478 add virt-who (*.py are removed in rhevh image)
 cat > /usr/bin/virt-who <<EOF_virt_who
 #!/bin/sh


-- 
To view, visit http://gerrit.ovirt.org/33000
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ida7a2ec780ca5bc28343d503052b6770278e74b7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list