Hi
I'm trying to create a recipe, that installs Postfix and 'postmap' the 
sasl password file. The configuration file is created with a template. 
The whole recipe works, half of the test time, the other half the 
pwd-file isn't postmap'ed.
If I test the recipe on my test client and it works perfect, I can purge 
the postfix package and etc. and it will switch from working to not 
working, every other time. I don't understand why it isn't working and 
why it follows this pattern. The recipe: http://pastebin.com/m431c37b8
The "before" highlighted is just a test. But the error/pattern happens 
with or without. The puppetmaster and puppet client is all Debian 
Etch/stable with testing packages.

/Lars


------- Not working ------------------------
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:67
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


------- Working,  Exec[postmap sasl.pwd] creates pwddbfile ----------------
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/Package[postfix]/ensure: ensure 
changed 'purged' to 'present'
notice: //Node[basenode]/postfix_client/Package[mailx]/ensure: ensure 
changed 'purged' to 'present'
notice: //Node[basenode]/postfix_client/File[/etc/postfix]/mode: mode 
changed '755' to '775'
notice: 
//Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/checksum: 
checksum changed '{md5}d78a6e8a4f4193b70de1feda988e4ded' to 
'{md5}2c106512d4f698d8b4c36b851acb8aa1'
info: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]: 
Filebucketed to  with sum 2c106512d4f698d8b4c36b851acb8aa1
notice: 
//Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/content: 
changed file contents from {md5}2c106512d4f698d8b4c36b851acb8aa1 to 
{md5}d78a6e8a4f4193b70de1feda988e4ded
notice: //Node[basenode]/postfix_client/File[/etc/postfix/main.cf]/mode: 
mode changed '644' to '440'
notice: //Node[basenode]/postfix_client/File[/etc/postfix/sasl]/mode: 
mode changed '755' to '550'
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
info: //Node[basenode]/postfix_client/Exec[postmap sasl.pwd]: Scheduling 
refresh of Service[postfix]
notice: //Node[basenode]/postfix_client/Service[postfix]: Triggering 
'refresh' from 1 dependencies
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: Finished catalog run in 26.01 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to