Hi,
We have package 'foobar' and when Puppet installs a new version, it restarts service foobar. All good.
foobar has dozens of dependencies, for example 'lib-foobar'. Puppet knows about these, also. When these packages are updated, the service foobar restarts. All good.
lib-foobar, itself has dependencies, eg lib-math-foobar. When lib-math-foobar is updated, Puppet does know about it and DOESNT restart the foobar service. So the package manager is doing everything it should. The only issue is that Puppet doesn't know about lib-math-foobar. Is there a way that Puppet can use the debian/control file to know about these dependencies? This could then trigger the service to restart.
Cheers,
D.
↧