-
Notifications
You must be signed in to change notification settings - Fork 289
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
plugins should install before checks #463
Comments
A PR would be wonderful if you would! |
jeffmccune
added a commit
to jeffmccune/sensu-puppet
that referenced
this issue
Jul 17, 2017
Without this patch plugins may be managed after the checks which use them. This patch addresses the problem by adding a well known inert resource named `Anchor[plugins_before_checks]`. The sensu::check and sensu_check_config type are managed after this anchor. The sensu::plugin defined type is managed before this anchor. The anchor approach has been implemented over collections to avoid realizing resources which the end user may be using. Resolves sensu#463
jeffmccune
added a commit
to jeffmccune/sensu-puppet
that referenced
this issue
Jul 19, 2017
Without this patch plugins may be managed after the checks which use them. This patch addresses the problem by adding a well known inert resource named `Anchor[plugins_before_checks]`. The sensu::check and sensu_check_config type are managed after this anchor. The sensu::plugin defined type is managed before this anchor. The anchor approach has been implemented over collections to avoid realizing resources which the end user may be using. Resolves sensu#463
ghoneycutt
added a commit
that referenced
this issue
Jul 19, 2017
(#463) Ensure sensu::plugins are managed before checks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the current puppet module the checks are set up before the plugins.
This causes some failing checks when a node is being configured, because some of my checks depend on the plugins. (which are shell scripts defined with a template path via the plugins hash)
To fix, the puppet module should install the plugins before it creates any checks or even starts the client up.
The text was updated successfully, but these errors were encountered: