You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There doesn't seem to be a great way to fix this, since Puppet doesn't have a nil. Either you remove the default user/password and make them empty, or maybe use a patch like this to lib/puppet/provider/sensu_dashboard_config/json.rb:
@@ -51,7 +51,7 @@
end
def user
- conf['dashboard']['user']+ conf['dashboard']['user'] or ''
end
def user=(value)
@@ -60,7 +60,7 @@
end
def password
- conf['dashboard']['password']+ conf['dashboard']['password'] or ''
end
def password=(value)
Yeah, the nil/false/undef problem is a real issue with these providers. I've talked to a few PL people without much success other than "hopefully with 4.0". If you have some ideas though I'd love to see a PR that resolves it - it's a problem for all of the providers.
When the dashboard user and password are set to
''
(empty string), thesensu_dashboard_config
resource displays the following:I'm setting these to blank because I want to proxy to the dashboard using Apache and our internal SSO.
The text was updated successfully, but these errors were encountered: