On Feb 3, 2009, at 10:14 PM, chakkerz wrote: > > G'day > > my module's init.pp: > > class mailaliases > { > if ($skip_mailaliases != "true") > { > mailalias > { "root": > # ensure => absent, > ensure => present, > target => "/etc/aliases", > recipient => "linuxroot+ > $hostn...@example.org", > notify => Exec["newaliases"], > } > } > } > > does nothing, my client continues to look like : > [r...@puppetslave lenses]# grep root: /etc/aliases > #root: marc > > what am i missing? from the recipes i've looked at (and the one post > on here which i just completely failed to understand) i'm not > gathering what the magic incantation is that's lacking.
That looks like it should work. When you run with debugging, does it talk about rewriting the file? -- Morgan's Second Law: To a first approximation all appointments are canceled. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.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 puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---