now I have a declaration that kicks in when the problem occurs:
service { 'amavis':
hasrestart => true,
provider => 'systemd',
restart => '/usr/sbin/service amavis restart',
status => '/usr/bin/systemctl is-active --quiet amavis && [
"$(/usr/bin/systemctl show -p S
Hi Jochen,
When amavis is in the broken state, does `service amavis start` fix it or
is it just `service amavis restart` that fixes it? If 'restart' works, but
'start' doesn't, I wonder if Puppet is running the start command instead of
restart. Running the puppet agent in debug mode should show yo
Hi Nick,
good point! As of the debug log, it seems to issue the start command, although
the dog says that puppet would use the restart command if hasrestart is set to
true
I will have to wait for the problem to reoccur to finally test this. Thanks a
lot
> Am 01.12.2023 um 19:10 schrieb Nick B
On Friday, December 1, 2023 at 10:17:29 AM UTC-8 jochen@gmail.com wrote:
Hi Nick,
good point! As of the debug log, it seems to issue the start command,
although the dog says that puppet would use the restart command if
hasrestart is set to true
I will have to wait for the problem to reoccu
Hello,
As part of a larger effort to move toward GitHub Issues for our open source
projects, Puppet has enabled issues on all of the core modules and the
puppet_agent module.
This change affects the following repositories:
puppetlabs-augeas_core
puppetlabs-cron_core
puppetlabs-host_core
puppet