[Puppet Users] Re: problem with restart a service when a file changes

2012-12-28 Thread Kazor
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

[Puppet Users] Re: problem with restart a service when a file changes

2012-12-26 Thread joe
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