[node-patches] Change in ovirt-node[master]: puppet: Persist puppet.conf when it get's changed

hadong0720 at gmail.com hadong0720 at gmail.com
Wed Jul 31 13:14:22 UTC 2013


hadong has uploaded a new change for review.

Change subject: puppet: Persist puppet.conf when it get's changed
......................................................................

puppet: Persist puppet.conf when it get's changed

Change-Id: Ieacb4030d0fe4100fb002f5b1db62358d1d75012
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/setup/puppet/puppet_page.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/29/17529/1

diff --git a/src/ovirt/node/setup/puppet/puppet_page.py b/src/ovirt/node/setup/puppet/puppet_page.py
index 5d736ba..8fdb55f 100644
--- a/src/ovirt/node/setup/puppet/puppet_page.py
+++ b/src/ovirt/node/setup/puppet/puppet_page.py
@@ -153,6 +153,8 @@
                     conf.write("\n" + line, "a")
             except:
                 conf.write("\n" + line, "a")
+        from ovirtnode.ovirtfunctions import ovirt_store_config
+        ovirt_store_config("/etc/puppet/puppet.conf")
 
         system.service("puppet", "stop")
         utils.process.check_call("puppet agent --test", shell=True)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieacb4030d0fe4100fb002f5b1db62358d1d75012
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list