[node-patches] Change in ovirt-node[master]: Fix TypeError("The type (<type 'bool'>) of OVIRT_PUPPET_ENAB...

hadong0720 at gmail.com hadong0720 at gmail.com
Thu Oct 24 07:55:52 UTC 2013


hadong has uploaded a new change for review.

Change subject: Fix TypeError("The type (<type 'bool'>) of OVIRT_PUPPET_ENABLED issue
......................................................................

Fix TypeError("The type (<type 'bool'>) of OVIRT_PUPPET_ENABLED issue

Change-Id: Ice9429c8e11396940da3d2cdb1004906d836d1bc
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/setup/puppet/puppet_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/87/20487/1

diff --git a/src/ovirt/node/setup/puppet/puppet_page.py b/src/ovirt/node/setup/puppet/puppet_page.py
index ff00d7f..6a016bc 100644
--- a/src/ovirt/node/setup/puppet/puppet_page.py
+++ b/src/ovirt/node/setup/puppet/puppet_page.py
@@ -127,7 +127,7 @@
         valid.Boolean()(enabled)
         (valid.Empty() | valid.FQDNOrIPAddress())(server)
         (valid.Empty() | valid.URL())(certname)
-        return {"OVIRT_PUPPET_ENABLED": "yes" if enabled else False}
+        return {"OVIRT_PUPPET_ENABLED": "yes" if enabled else None}
 
 
 class ActivatePuppet(utils.Transaction.Element):


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

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