opnstack config shell migration

This commit is contained in:
Thomas S Hatch 2015-01-07 14:06:21 -07:00
parent 99b4911f13
commit 4750ee9b32

View File

@ -76,7 +76,8 @@ def set_(filename, section, parameter, value):
result = __salt__['cmd.run_all'](
'openstack-config --set {0} {1} {2} {3}'.format(
filename, section, parameter, value
)
),
python_shell=False,
)
if result['retcode'] == 0:
@ -114,7 +115,8 @@ def get(filename, section, parameter):
result = __salt__['cmd.run_all'](
'openstack-config --get {0} {1} {2}'.format(
filename, section, parameter
)
),
python_shell=False,
)
if result['retcode'] == 0:
@ -151,7 +153,8 @@ def delete(filename, section, parameter):
result = __salt__['cmd.run_all'](
'openstack-config --del {0} {1} {2}'.format(
filename, section, parameter
)
),
python_shell=False,
)
if result['retcode'] == 0: