Skip to content
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

Make it possible to add processes one by one #712

Merged
merged 1 commit into from Dec 2, 2017

Conversation

oscarkraemer
Copy link
Contributor

This fixes a old silent bug that was created by
395036a

This commit makes it possible define single process again like:
collectd::plugin::processes::process { 'collectd' : }
Without also having to create:
class { 'collectd::plugin::processes':
processes => [ 'foo', 'bar' }

This fixes the issues #652 and #595.

This fixes a old silent bug that was created by
395036a

This commit makes it possible define single process again like:
collectd::plugin::processes::process { 'collectd' : }
Without also having to create:
class { 'collectd::plugin::processes':
  processes => [ 'foo', 'bar' }

This fixes the issues voxpupuli#652 and voxpupuli#595.
@oscarkraemer
Copy link
Contributor Author

It would have been possible to create the same affect as 395036a tried to solve by calling the class with ensure => absent .

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Nov 9, 2017
@juniorsysadmin
Copy link
Member

@oscarkraemer (1) Would it be possible to add test cases to prove that this fixes the issues listed (2) Does the README need to be updated?

@oscarkraemer
Copy link
Contributor Author

I will not write any new tests, I don't have time. The README should not need any updates since these changes would make the readme correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompatible bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants