[node-patches] Change in ovirt-node[master]: The RHN cronjob shouldn't try to call removed files

rbarry at redhat.com rbarry at redhat.com
Thu May 1 14:13:37 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: The RHN cronjob shouldn't try to call removed files
......................................................................

The RHN cronjob shouldn't try to call removed files

The rhn-virtualization cronjob tries to call an uncompiled
python file. Make it call a compiled python file instead.

Change-Id: If45333051dfe6fa35ee240899af86495823b06da
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1085831
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M ovirt-node.spec.in
1 file changed, 4 insertions(+), 0 deletions(-)


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

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 5fbc40b..ebbfca3 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -263,6 +263,10 @@
 %global selinux_policyver %_selinux_policy_version
 %endif
 
+%post plugin-rhn
+
+sed -ie 's/\(.*\)\.py/\1.pyc/' /etc/cron.d/rhn-virtualization.cron
+
 %package selinux
 Summary:          SELinux policy module supporting %{product_family}
 Group:            System Environment/Base


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If45333051dfe6fa35ee240899af86495823b06da
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