-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
bareos::director tries to collect all exported File resources #30
Comments
interesting, actually it should not affect other modules. The File resource collector is required to ensure consistent behaviour after file changes, so it does not restart the bareos services while its still changing its config files (which can happen). |
Well, the collector doesn't break anything in Bareos, it's our other modules that are affected. Our situation is like this:
|
should be fixed with #35 |
Here:
https://github.com/Project0/puppet-bareos/blob/979d73480325bdf68d496b4913eedc7c9bfd64f0/manifests/director.pp#L63
bareos::director
class tries to collect all the exported file resources in the catalog. When we try to apply it, Puppet attempts to create unrelated files (for example Prometheus collector config files) which should be collected on another server. This makes the Puppet run fail.The file collection should be scoped by tag. We also tried fixing it by just removing the
File <| |> ->
statement and it doesn't seem to have broken anything.The text was updated successfully, but these errors were encountered: