Hi, On 1/11/08 17:02, Lars Staun Knudsen wrote: > 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.
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. -- Brice Figureau Days of Wonder http://www.daysofwonder.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---