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

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


Hello hadong,

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

    http://gerrit.ovirt.org/24764

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/64/24764/1

diff --git a/src/ovirt/node/setup/puppet/puppet_page.py b/src/ovirt/node/setup/puppet/puppet_page.py
index 4319b0a..49c70b3 100644
--- a/src/ovirt/node/setup/puppet/puppet_page.py
+++ b/src/ovirt/node/setup/puppet/puppet_page.py
@@ -173,6 +173,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/24764
To unsubscribe, visit http://gerrit.ovirt.org/settings

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



More information about the node-patches mailing list