]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Update the config_template plugin 707/head
authorKevin Carter <kevin.carter@rackspace.com>
Tue, 12 Apr 2016 04:28:40 +0000 (23:28 -0500)
committerKevin Carter <kevin.carter@rackspace.com>
Tue, 12 Apr 2016 04:28:40 +0000 (23:28 -0500)
commitb56b224250f4d9736bd2a6a98d882b3e87d6926e
treed02c1ef708170b080e42d15a58975765048fc6f5
parent8959ab184324f00f22b5cd7538200e9c0b815780
Update the config_template plugin

These changes address 2 issues:

* The config template plugin in v1 mode was not respecting a list
  of integers and would cause a stacktrace because the ConfigParese
  module expects everything written to be a string.
* The config template plugin in v2 mode was not properly handingly
  the multi-string-op type due to an oversight in the ``_option_write``
  method.

With these updates the config template is now able to better support
all of the potential options that could be thrown at it when writing
an INI config file.

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
plugins/actions/_v1_config_template.py
plugins/actions/_v2_config_template.py