On Tue, Feb 03, 2009 at 08:14:57PM -0800, 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
You need to specify a name explicitely, I think: mailalias { "www-data phone home": ensure => present, name => "www-data", recipient => "rlpow...@digitalkingdom.org"; } -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---