[node-patches] Change in ovirt-node[master]: Run the rhn-virtualization poller

rbarry at redhat.com rbarry at redhat.com
Tue Nov 25 18:49:52 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Run the rhn-virtualization poller
......................................................................

Run the rhn-virtualization poller

As with so many things, replace .py with .pyc. Also, don't try to
feed python from stdin from a compiled file.

Change-Id: I25273cd6d9e25a7831df54ba32f2a47dda3d463e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1167241
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M recipe/common-post.ks
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/68/35568/1

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index ba0b9fa..a104034 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -33,6 +33,10 @@
 # Logrotate more judiciously so the size of syslog stays under control
 sed -i '/^.*sharedscripts/a \    rotate 5\n    size 15M\n    compress' /etc/logrotate.d/syslog
 
+if rpm -q --quiet rhn-virtualization-host; then
+    sed -i -e 's/\.py/\.pyc/' -e 's/<//' /etc/cron.d/rhn-virtualization.cron
+fi
+
 # root's bash profile
 cat >> /root/.bashrc << \EOF_bashrc
 # aliases used for the temporary


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I25273cd6d9e25a7831df54ba32f2a47dda3d463e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list