Ryan Barry has uploaded a new change for review. Change subject: Tweak puppet autoinstall ......................................................................
Tweak puppet autoinstall Previously, we didn't convert they keys from kernel args to valid keys for a model. Do so. Change-Id: I2b91d99eededbed79458d714545edde0c0326cd2 Signed-off-by: Ryan Barry <[email protected]> --- M plugins/puppet_autoinstall.py 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/03/20303/1 diff --git a/plugins/puppet_autoinstall.py b/plugins/puppet_autoinstall.py index a684399..6fe4b8a 100644 --- a/plugins/puppet_autoinstall.py +++ b/plugins/puppet_autoinstall.py @@ -34,7 +34,8 @@ }) if changes: effective_model.update(changes) - Puppet().update(*effective_model.values_for(keys)) + real_keys = [re.sub(r'_', r'.', key) for key in keys] + Puppet().update(*effective_model.values_for(real_keys)) if "puppet_enabled" in args and (re.compile(r'y', re.I).match(args[ "puppet_enabled"]) or args["puppet_enabled"] == "1"): ActivatePuppet() -- To view, visit http://gerrit.ovirt.org/20303 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2b91d99eededbed79458d714545edde0c0326cd2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Ryan Barry <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
