-
-
Notifications
You must be signed in to change notification settings - Fork 178
Exec[create-mcollective-metadata] in mcollective::server::config::factsource::yaml never runs for mcollective>=2.5.0 #214
Comments
Let me know what you guys thing so I can push a patch up. |
Thanks for the succinct writeup. I have strong reservations agains |
@ffrank could you please elaborate on your reservations towards |
etc. This is more than inconvenient, because Puppet has no way to recover from this half-configured state. Human intervention (reset the system to de-sync a signaling resource) becomes necessary. The specifics of doing this are seldomly intuitive without diving into the module's code. |
thank you ♥ for the 💔 explanation. |
We're experiencing this as well, and I agree with @ffrank's sentiments about |
Hello: Is this still needed? |
Thanks for the hint @madAndroid. This isn't a convenient option here, because the module does not own the script. (Sure, we could create the marker file from the So, principles aside, I guess we can get away with falling back to |
Exec[create-mcollective-metadata]
inmcollective::server::config::factsource::yaml
never runs formcollective>=2.5.0
. At least from the Puppetlabs repo.mcollective=2.0.0
from ubuntu (trusty) does not have this issue.This is because the
Exec
uses$mcollective::yaml_fact_path_real
to determine if it should run, via thecreates
attribute. The Puppetlabs MCollective packages automatically creates that file post-install, however, thus denying theExec
the chance to run. As a result, facts aren't available to MCollective until the next time theCron[refresh-mcollective-metadata]
is run.Not sure how to tackle this issue, but I'd be OK with the
Exec
running only via aRefresh
event frommcollective::server::setting{factsource}
The text was updated successfully, but these errors were encountered: