[node-patches] Change in ovirt-node[master]: persist "/var/lib/puppet" in enable_puppet

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Feb 19 14:14:01 UTC 2014


Hello hadong,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/24750

to review the following change.

Change subject: persist "/var/lib/puppet" in enable_puppet
......................................................................

persist "/var/lib/puppet" in enable_puppet

Change-Id: Ie203a454011bbb50315351d97389569e2314afc7
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1055140
Signed-off-by: hadong <hadong at redhat.com>
---
M src/ovirt/node/setup/puppet/puppet_page.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/50/24750/1

diff --git a/src/ovirt/node/setup/puppet/puppet_page.py b/src/ovirt/node/setup/puppet/puppet_page.py
index 04574b6..dc829d4 100644
--- a/src/ovirt/node/setup/puppet/puppet_page.py
+++ b/src/ovirt/node/setup/puppet/puppet_page.py
@@ -172,6 +172,7 @@
         utils.process.check_call("puppet agent --waitforcert 60 --test",
                                  shell=True)
         system.service("puppet", "start")
+        fs.Config().persist("/var/lib/puppet")
 
     def disable_puppet(self):
         item_args = ["server", "certname"]


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie203a454011bbb50315351d97389569e2314afc7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list