-
Notifications
You must be signed in to change notification settings - Fork 289
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
sensu_enterprise_dashboard_api type should use host
as namevar, not name
#638
Comments
@dhgwilliam I'm working on this presently. Thanks for the great start, I've rebased your work on master and will build from there preserving your commits. I'm thinking about My gut tells me the fully qualified URL of the API should be the namevar. The full URL is guaranteed to be unique for the resource. The URL, however, leads me down the path of composite namevars. I'll spend half an hour looking into if composite namevars are feasible, but would love your insight before I get too far down the rabbit hole. Does a URL namevar address an issue that doesn't exist, or solve this issue once and for all? (Or something else?) |
In progress. |
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-dashboard-api.pp
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
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
…type (#638) Enable multiple Sensu Enterprise Dashboard API endpoints
Released in v2.14.0 |
Because
name
is used as namevar, it is not possible to have multiple API endpoints represented as a single datacenter in the enterprise dashboard.The text was updated successfully, but these errors were encountered: