Thaks Joe,
My problem was the sintax on command that was not correct, i solved this
and the agent running without problem.
[...]
*# define the service to restart*
*exec { "zmamavisdctl":*
*user=> 'zimbra',*
*refreshonly => true,*
*command => '/opt/zimbra/bin/zman
What it's telling you is that the command it's running (zmamavisdctl) is
spitting out a return code of 1, which typically means that there was an
error running the script.
Either the command is actually failing, or the command is poorly written
and does not provide the correct return code.
Thi