Commit a0b227ab4d55c4ab4695754b2057db4b18fd1409
1 parent
c89b7dc6
Exists in
master
and in
39 other branches
Calling newaliases after adding a mail alias
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
puppet/modules/colab/manifests/init.pp
| ... | ... | @@ -19,6 +19,15 @@ class colab { |
| 19 | 19 | require => Apt::Ppa['ppa:nginx/stable'], |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | + Mailalias { | |
| 23 | + notify => Exec['newaliases'], | |
| 24 | + } | |
| 25 | + | |
| 26 | + exec { 'newaliases': | |
| 27 | + path => '/usr/bin/newaliases', | |
| 28 | + refreshonly => true, | |
| 29 | + } | |
| 30 | + | |
| 22 | 31 | group { 'colab': |
| 23 | 32 | ensure => present, |
| 24 | 33 | } | ... | ... |