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

Create processes plugin configuration on RedHat #927

Merged
merged 1 commit into from Mar 28, 2020

Conversation

traylenator
Copy link
Contributor

Pull Request (PR) description

There was a name clash between:

  • Puppet created configuration file.
  • Package provided configuration file.

Since a864d0d the collectd module on RedHat
purges the package provided file file /etc/collectd.d/processes-config.conf

The module was also creating this file with a concat and result was no
file on system.

To avoid the clash puppet now creates the file processes_config.conf. Note
the - vs _.

There is probably a cleaner fix to move all of the processes plugin configuration
into the per module file /etc/collect.d/10-processses.conf as that would
be more consistant with other simpler modules. This would be a change
for every module however with collectd::plugin itself changing.

This Pull Request (PR) fixes the following issues

Fixes #926

@traylenator traylenator added bug Something isn't working needs-work not ready to merge just yet tests-fail labels Mar 24, 2020
@traylenator traylenator force-pushed the processes branch 4 times, most recently from 1caca48 to 90d5908 Compare March 24, 2020 13:01
@traylenator traylenator changed the title WIP: Create processes plugin configuration on RedHat Create processes plugin configuration on RedHat Mar 24, 2020
@traylenator traylenator removed needs-work not ready to merge just yet tests-fail labels Mar 24, 2020
@traylenator
Copy link
Contributor Author

Can't see why this is still pending , leave it a bit to see what happens.

There was a name clash between:
* Puppet created configuration file.
* Package provided configuration file which was being purged.

Since a864d0d the collectd module on RedHat
purges the package provided file file `/etc/collectd.d/processes-config.conf`

The module was also creating this file with a concat and result was no
file on system.

To avoid the clash puppet now creates the file `processes_config.conf`. Note
the `-` vs `_`.

There is probably a cleaner fix to move all of the processes plugin configuration
into the per module file `/etc/collect.d/10-processses.conf` as that would
be more consistant with other simpler modules using a single template
rather than a concat. This would be a change for every module
however with `collectd::plugin` itself changing.

Fixes voxpupuli#926
@traylenator
Copy link
Contributor Author

Green after an empty rebase.

@bastelfreak bastelfreak merged commit 7267a20 into voxpupuli:master Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

processes-config.conf file is not created
2 participants