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

Use different file name for processes plugin config #856

Closed
wants to merge 1 commit into from

Conversation

openglx
Copy link

@openglx openglx commented Sep 28, 2018

This change fixes collectd::plugin::processes to work on RHEL-based
systems again after a conflicting change on puppet-collectd v10.0.1.

It uses a different filename for the processes plugin configuration
in a way that it will no longer overwrite a vendor-supplied file that
is being wiped as part of collectd::plugin.

Pull Request (PR) description

Updates file name used for collectd::plugin::processes settings.

This Pull Request (PR) fixes the following issues

Fixes #851

This change fixes collectd::plugin::processes to work on RHEL-based
systems again after a conflicting change on puppet-collectd v10.0.1.

It uses a different filename for the processes plugin configuration
in a way that it will no longer overwrite a vendor-supplied file that
is being wiped as part of collectd::plugin.
@@ -17,7 +17,7 @@
'collect_file_descriptor' => $collect_file_descriptor,
'collect_memory_maps' => $collect_memory_maps,
}),
target => "${collectd::plugin_conf_dir}/processes-config.conf",
target => $::collectd::plugin::processes::config_file,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't add leading ::, that is only needed for puppet 3 (which we don't support anymore)

@bastelfreak
Copy link
Member

Hi @openglx, can you please take a look at the failing travis jobs?

@bastelfreak
Copy link
Member

ping @openglx. This PR also requires a rebase.

@bastelfreak bastelfreak added needs-rebase needs-work not ready to merge just yet tests-fail labels Oct 14, 2018
archii added a commit to archii/puppet-collectd that referenced this pull request Mar 25, 2019
archii added a commit to archii/puppet-collectd that referenced this pull request Mar 25, 2019
archii added a commit to archii/puppet-collectd that referenced this pull request Mar 26, 2019
archii added a commit to archii/puppet-collectd that referenced this pull request May 29, 2019
@bastelfreak
Copy link
Member

Hi @openglx, are you still interested in this?

@openglx
Copy link
Author

openglx commented Jun 16, 2019

Hi @openglx, are you still interested in this?

My apologies but I haven't used the module in months due change in employment.

Thank you for providing this module and your time.

@openglx openglx closed this Jun 16, 2019
archii added a commit to archii/puppet-collectd that referenced this pull request Sep 29, 2019
archii added a commit to archii/puppet-collectd that referenced this pull request Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase needs-work not ready to merge just yet tests-fail
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Processes plugin configuration file not been deployed
2 participants