[node-patches] Change in ovirt-node[master]: Add Puppet().clear() in disable_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/24749

to review the following change.

Change subject: Add Puppet().clear() in disable_puppet()
......................................................................

Add Puppet().clear() in disable_puppet()

Add Puppet().clear() in disable_puppet() to remove configuration info for
puppet server/certificate name from /etc/default/ovirt when disable puppet.

Change-Id: I8647d238eb68bf02bdbf339a3a1a512a4e353b28
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1051722
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/49/24749/1

diff --git a/src/ovirt/node/setup/puppet/puppet_page.py b/src/ovirt/node/setup/puppet/puppet_page.py
index 03bbcad..04574b6 100644
--- a/src/ovirt/node/setup/puppet/puppet_page.py
+++ b/src/ovirt/node/setup/puppet/puppet_page.py
@@ -189,3 +189,4 @@
         fs.Config().persist("/etc/puppet/puppet.conf")
 
         system.service("puppet", "stop")
+        Puppet().clear()


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

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