[node-patches] Change in ovirt-node[master]: plugins: fix system.kernel_cmdline_arguments() call

dougsland at redhat.com dougsland at redhat.com
Wed Aug 6 15:11:06 UTC 2014


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: plugins: fix system.kernel_cmdline_arguments() call
......................................................................

plugins: fix system.kernel_cmdline_arguments() call

In commit 2c8e71ff82d we introduced new codebase for autoinstalls.
However, we should use system.kernel_cmdline_arguments() instead of
system.kernel_cmdline_args(). This patch fix the call.

Change-Id: I72f9ef678623dd6ee0c835d160151981283255dc
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M plugins/puppet_autoinstall.py
M plugins/snmp_autoinstall.py
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/52/31152/1

diff --git a/plugins/puppet_autoinstall.py b/plugins/puppet_autoinstall.py
index f825394..6bdee3b 100644
--- a/plugins/puppet_autoinstall.py
+++ b/plugins/puppet_autoinstall.py
@@ -22,7 +22,7 @@
 from ovirt.node.plugins import Changeset
 import re
 
-args = system.kernel_cmdline_args()
+args = system.kernel_cmdline_arguments()
 keys = ["puppet_enabled", "puppet_server", "puppet_certname"]
 changes = dict((re.sub(r'_', r'.', key), args[key]) for key in keys
                if key in args)
diff --git a/plugins/snmp_autoinstall.py b/plugins/snmp_autoinstall.py
index 5a96658..06f2f30 100644
--- a/plugins/snmp_autoinstall.py
+++ b/plugins/snmp_autoinstall.py
@@ -21,7 +21,7 @@
 from ovirt.node.setup.snmp import snmp_model
 from ovirt.node.utils import system
 
-args = system.kernel_cmdline_args()
+args = system.kernel_cmdline_arguments()
 
 if __name__ == "__main__":
     snmp = snmp_model.SNMP()


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72f9ef678623dd6ee0c835d160151981283255dc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list