-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add ssl and insecure Sensu attributes to API section of dashboard.json #584
Comments
|
I think @cwjohnston wrote most of the enterprise support stuff, so maybe he can help? |
jeffmccune
added a commit
to jeffmccune/sensu-puppet
that referenced
this issue
Jul 6, 2017
Without this patch it is not possible to manage multiple sensu::enterprise::dashboard::api resources in the same datacenter because the resources conflict over the namevar. This patchset addresses the problem by changing the namevar to the `host` and establishing the `datacenter` attribute. An example of how to exercise this behavior is located in tests/sensu-enterprise-dashboard-multi-api.pp resolves sensu#638 closes sensu#651 closes sensu#584
jeffmccune
added a commit
to jeffmccune/sensu-puppet
that referenced
this issue
Jul 6, 2017
Without this patch it is not possible to manage multiple sensu::enterprise::dashboard::api resources in the same datacenter because the resources conflict over the namevar. This patchset addresses the problem by changing the namevar to the `host` and establishing the `datacenter` attribute. An example of how to exercise this behavior is located in tests/sensu-enterprise-dashboard-multi-api.pp resolves sensu#638 closes sensu#651 closes sensu#584
|
Released in v2.14.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of problem
Attempted to use enterprise dashboard API definition with SSL and insecure Puppet attributes.
This error during application of the configuration on my Sensu server:
Same error happens for insecure.
Puppet adding the SSL and insecure Sensu attributes to Sensu's dashboard.json config file:
Call the sensu enterprise dashboard api definition like this:
Then observe the error during an agent run.
Command used and debugging output
See above for reproducing the issue. I do use hiera, but I've simplied it during troubleshooting to just use Puppet for now. Let me know if more code details are needed.
Master based.
Platform and version information
Anything else to add that you think will be helpful?
Entirely possible I am just not using the module correctly here, but I couldn't find another way to get this config generated and the readme doesn't include examples down this far. I based my code off reading the types screen on Puppet Forge and looking at the manifests.
The code does work as expected with both the ssl and insecure attributes removed from my Puppet code.
The text was updated successfully, but these errors were encountered: