Commit ca129ce1ebb80cbd863c68a8e9dcc51aa81f8dd5
1 parent
ba4adaa7
Exists in
master
and in
39 other branches
Creating mail alias
Showing
1 changed file
with
7 additions
and
2 deletions
Show diff stats
puppet/modules/colab/manifests/init.pp
| 1 | 1 | |
| 2 | 2 | class colab { |
| 3 | + # Common | |
| 3 | 4 | include ps1 |
| 4 | 5 | include vim |
| 5 | 6 | include ntp |
| ... | ... | @@ -8,7 +9,6 @@ class colab { |
| 8 | 9 | include postfix |
| 9 | 10 | |
| 10 | 11 | include supervisor |
| 11 | - | |
| 12 | 12 | include colab::requirements |
| 13 | 13 | |
| 14 | 14 | user { 'colab': |
| ... | ... | @@ -16,4 +16,9 @@ class colab { |
| 16 | 16 | managehome => true, |
| 17 | 17 | shell => '/bin/bash', |
| 18 | 18 | } |
| 19 | -} | |
| 20 | 19 | \ No newline at end of file |
| 20 | + | |
| 21 | + mailalias { 'colab': | |
| 22 | + ensure => present, | |
| 23 | + recipient => 'root', | |
| 24 | + } | |
| 25 | +} | ... | ... |