Skip to content

Conversation

@trenta
Copy link

@trenta trenta commented Oct 15, 2025

Pull Request (PR) description

This allows users to manage the package themselves if desired.

This Pull Request (PR) fixes the following issues

Fixes #253

@bastelfreak bastelfreak added the enhancement New feature or request label Oct 15, 2025
@bastelfreak
Copy link
Member

@trenta thanks for the PR. can you take a look at the failing CI jobs?

@trenta
Copy link
Author

trenta commented Oct 16, 2025

So my puppet lint suggests different indents to yours. Should have something configured differently?

@bastelfreak
Copy link
Member

@trenta we are usually up2date with the puppet-lint plugins. If you use puppet-lint: that uses older plugins.

Boolean $manage_service = $telegraf::params::manage_service,
Boolean $manage_repo = $telegraf::params::manage_repo,
Boolean $manage_archive = $telegraf::params::manage_archive,
Boolean $manage_package = $telegraf::params::manage_package,
Copy link
Member

Choose a reason for hiding this comment

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

$manage_package is always true. In that case you can directly assign the value in the init.pp, and we don't need another variable in the params.pp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Would you be able to add a manage_package option

3 participants