
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. Change-Id: I5c88b2019c01b44193a5d0df9299ecce6de52f01 Partial-Bug: #1693234
10 lines
431 B
YAML
10 lines
431 B
YAML
---
|
|
features:
|
|
- |
|
|
The config_template template module now supports writing out valueless
|
|
INI options without suffixing them with '=' or ':'. This is done via the
|
|
'ignore_none_type' attribute. If ignore_none_type is set to true, these
|
|
key/value entries will be ignored, if it's set to false, then
|
|
ConfigTemplateParser will write out only the option name without the
|
|
'=' or ':' suffix. The default is true.
|