Should puppet automatically run the newaliases system command on Linux after
adding an alias using the 'mailalias' type? None of my CentOS 5 systems or
Ubuntu 8.10a5 laptop have done this.
I'm having a read through the source, but I'm a python person, not a ruby
programmer, so it's taking me a while.
If puppet does not automatically run newaliases, is there something I can set
up an Exec to Subscribe to?
Regards
Darryl
Worked a treat, thanks.
In addition, you could make the Exec["newaliases"] say:
exec { "newaliases":
cmd => "/path/to/newaliases",
refreshonly => true
}
so that it is only executed if there really is a change in mail alias
resources managed by puppet.
Kind regards,
Jeroen van Meeuwen
-kanarip