> Your Exec["postmap sasl.pwd"] uses refreshonly (good) but also creates > (not so good). The "creates" triggers only if the file doesn't exists. > If the file created file already exists, even if refreshonly is true, it > won't execute the command again. > Remove the "creates" should solve your issue.
Thanks for the reply. I've removed the "creates" trigger, i can see you point. But I still get the error, also with or without the before trigger in the sasl pwd-file. Should the "before" trigger stay? The "Exec of postmap sasl.pwd" triggers on the pwd-file, so is it necessary to set that the file should be transfered before the execution. /Lars I can see that my copy paste of the error is a bit stripped. notice: Starting Puppet client version 0.24.5 info: Retrieving facts info: Caching catalog at /var/lib/puppet/state/localconfig.yaml notice: Starting catalog run notice: //Node[basenode]/postfix_client/File[/etc/postfix]/ensure: created notice: //Node[basenode]/postfix_client/File[/etc/postfix/sasl]/ ensure: created notice: //Node[basenode]/postfix_client/File[/etc/postfix/sasl/ sasl.pwd]/ensure: created info: //Node[basenode]/postfix_client/File[/etc/postfix/sasl/ sasl.pwd]: Scheduling refresh of Exec[postmap sasl.pwd] notice: //Node[basenode]/postfix_client/Exec[postmap sasl.pwd]: Triggering 'refresh' from 1 dependencies err: //Node[basenode]/postfix_client/Exec[postmap sasl.pwd]: Failed to call refresh on Exec[postmap sasl.pwd]: postmap sasl.pwd returned 1 instead of 0 at /etc/puppet/manifests/classes/postfix_client.pp:74 info: //Node[basenode]/postfix_client/Exec[postmap sasl.pwd]: Scheduling refresh of Service[postfix] err: //Node[basenode]/postfix_client/Service[postfix]/ensure: change from stopped to running failed: Could not find init script for 'postfix' notice: //Node[basenode]/postfix_client/Service[postfix]: Triggering 'refresh' from 1 dependencies warning: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/ checksum: File /etc/postfix/main.cf does not exist -- cannot checksum notice: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/ checksum: defined 'checksum' as '{md5}d78a6e8a4f4193b70de1feda988e4ded' notice: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/ content: created file with contents {md5}d78a6e8a4f4193b70de1feda988e4ded notice: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/ owner: defined 'owner' as 'root' notice: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/ group: defined 'group' as 'root' notice: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/ mode: defined 'mode' as '440' notice: //Node[basenode]/postfix_client/File[/etc/postfix/ssl]/ensure: created notice: //Node[basenode]/postfix_client/File[/etc/postfix/ssl/ mail.cert.pem]/ensure: created notice: //Node[basenode]/postfix_client/Package[postfix]/ensure: ensure changed 'purged' to 'present' notice: //Node[basenode]/postfix_client/Package[mailx]/ensure: ensure changed 'purged' to 'present' notice: Finished catalog run in 20.52 seconds --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---