commit b4a5996c0e163bf39e399045d372e5877339a72b
Author: Miguel Alex Cantu <email address hidden>
Date: Fri Jun 23 19:32:44 2017 +0000
Add ignore_none_type to config template
It is sometimes useful to tell ConfigTemplateParser to write
out options that are valueless and not suffixed with '=' or ':',
such as when overriding a my.cnf.
This commit adds the 'ignore_none_type' attribute to the config_template
module. If this attribute is set to false, then valueless options will be
written out to the resultant INI file as-is, without the '=' or ':' suffix.
Conflicts:
tests/test-config_template.yml
Change-Id: I5c88b2019c01b44193a5d0df9299ecce6de52f01
Partial-Bug: #1693234
(cherry picked from commit 76d5f02a32465028b47347048dde96533595036b)
Reviewed: https:/ /review. openstack. org/495938 /git.openstack. org/cgit/ openstack/ openstack- ansible- plugins/ commit/ ?id=b4a5996c0e1 63bf39e399045d3 72e5877339a72b
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit b4a5996c0e163bf 39e399045d372e5 877339a72b
Author: Miguel Alex Cantu <email address hidden>
Date: Fri Jun 23 19:32:44 2017 +0000
Add ignore_none_type to config template
It is sometimes useful to tell ConfigTemplateP arser to write
out options that are valueless and not suffixed with '=' or ':',
such as when overriding a my.cnf.
This commit adds the 'ignore_none_type' attribute to the config_template
module. If this attribute is set to false, then valueless options will be
written out to the resultant INI file as-is, without the '=' or ':' suffix.
Conflicts: test-config_ template. yml
tests/
Change-Id: I5c88b2019c01b4 4193a5d0df9299e cce6de52f01 8b47347048dde96 533595036b)
Partial-Bug: #1693234
(cherry picked from commit 76d5f02a3246502