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

load munin::node::plugin_share_dir via automatic lookup #77

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

kjetilho
Copy link
Contributor

when munin::plugin uses lookup() directly, this effectively means the variable value is unavailable to auxilliary classes which need to install additional files in the plugin directory.

the patch removes the other occurences of lookup() too, since they only complicate the code, and potentially cause an inconsistency if the user passes value into munin::node via explicit parameters rather than via Hiera.

when `munin::plugin` uses `lookup()` directly, this effectively means the
variable value is unavailable to auxilliary classes which need to install
additional files in the plugin directory.

the patch removes the other occurences of `lookup()` too, since they
only complicate the code, and potentially cause an inconsistency if the
user passes value into `munin::node` via explicit parameters rather than
via Hiera.
@ssm ssm merged commit 4efdd7e into ssm:main Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants