[node-patches] Change in ovirt-node[master]: recipe: Add multiple triggering conditions for RHSM
fabiand at redhat.com
fabiand at redhat.com
Mon Nov 30 19:21:43 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: recipe: Add multiple triggering conditions for RHSM
......................................................................
recipe: Add multiple triggering conditions for RHSM
rhsmd should be started depending on a few cases.
We now check each case individually, if one matches, then
rhsmd is getting started.
Change-Id: Ie8a336279c7d9503f80199282c39aa00817fec54
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1269752
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/common-post.ks
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/69/49469/1
diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 866ea2e..3283551 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -297,5 +297,7 @@
mkdir -vp /lib/systemd/system/rhsmcertd.service.d/
cat > /lib/systemd/system/rhsmcertd.service.d/node.conf <<EOC
[Unit]
-ConditionPathExists=/etc/sysconfig/rhn/systemid
+ConditionPathExists=|/var/lib/rhsm/facts/facts.json
+ConditionPathExists=|/var/lib/rhsm/productid.js
+ConditionPathExists=|/etc/sysconfig/rhn/systemid
EOC
--
To view, visit https://gerrit.ovirt.org/49469
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8a336279c7d9503f80199282c39aa00817fec54
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list