This makes the _config_valid() function work properly; the option
defaults are being strinified somewhere, so we need to use empty
strings rather than None (which becomes "None"), in order to check
if they're set or not.
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit
e81f109bf93317b998d3ea31d64381d9f491a6ef)
MODULE_OPTIONS = [
{
'name': 'salt_api_url',
- 'default': None
+ 'default': ''
},
{
'name': 'salt_api_eauth',
},
{
'name': 'salt_api_username',
- 'default': None
+ 'default': ''
},
{
'name': 'salt_api_password',
- 'default': None
+ 'default': ''
}
]