-
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
(#649) Enumerate sensu_enterprise_dashboard_config instances #716
(#649) Enumerate sensu_enterprise_dashboard_config instances #716
Conversation
382bfab
to
147bc99
Compare
What's with the empty commit? |
Made the empty commit to trigger Waffle so I'd be assigned the issue and it'd move over to in-progress. |
07e2abb
to
ed64333
Compare
This is ready for review / merge. |
spec/spec_helper.rb
Outdated
@@ -1,4 +1,5 @@ | |||
require 'puppetlabs_spec_helper/module_spec_helper' | |||
require 'pry' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed. It is what's causing Travis to fail.
Gemfile
Outdated
@@ -50,4 +50,8 @@ group :development do | |||
gem 'listen', '~> 3.0.0', :require => false | |||
end | |||
|
|||
if File.exists? "#{__FILE__}.local" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be more clear if it read Gemfile.local
instead of being variable, since the name of the Gemfile will not change.
Could you please add documentation of this new feature in the README. |
ed64333
to
dd3ad05
Compare
Thanks @jeffmccune Could you add the README portion and then this is good to go. |
e65f4c0
to
027ebf2
Compare
This patch implements the `instances` class method of the sensu_enterprise_dashboard_api_config json provider to enable `puppet resource` and resource purging using the resources resource. Maintenance changes include: * Add Gemfile.local to enable pry debugging. * Defensively access the catalog from the provider initializer. resolves sensu#649
027ebf2
to
5e1b0c4
Compare
@ghoneycutt README updated, review comments have been addressed. Should be ready for merge / release now. |
Released in v2.16.0 |
Without this patch the
resources
resource cannot be used to purge unmanagedAPI endpoints as requested in #649. This patch implements the instances class
method providing this functionality.
resolves #649