[node-patches] Change in ovirt-node[ovirt-3.5]: Run the rhn-virtualization poller
fabiand at redhat.com
fabiand at redhat.com
Thu Dec 4 15:52:20 UTC 2014
Hello Ryan Barry,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/35889
to review the following change.
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/89/35889/1
diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 0ed6f1a..af16ff7 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/35889
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I25273cd6d9e25a7831df54ba32f2a47dda3d463e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
More information about the node-patches
mailing list