Hi > I just though of another case where this would be useful, running > 'newaliases' after /etc/mail/aliases has been updated. What do > other people do? I have > > mailalias { foo: > ... > notify => [ Exec[newaliases] ] > } > > on each mailalias type. I thought last night that: > > Mailalias { > notify => [ Exec[newaliases] ] > } > > would work, but it does not seem to.
this should do it. but this definition should be included as first, before any the other Mailalias definitions. I have plenty of such statements, and they work fine. Another thing is to add a wrapper define, which will set the appropriate defaults on your exec. Actually for the alias type I do it that way. cheers pete --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---