Commit fddae2866ab93021dcda6e6606fc492b554c0cf8
1 parent
118265a4
Exists in
master
and in
39 other branches
Added colab user to mailman group
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
puppet/modules/colab/manifests/init.pp
| @@ -19,6 +19,18 @@ class colab ( | @@ -19,6 +19,18 @@ class colab ( | ||
| 19 | include postgresql::globals | 19 | include postgresql::globals |
| 20 | include postgresql::server | 20 | include postgresql::server |
| 21 | 21 | ||
| 22 | + user { 'colab': | ||
| 23 | + gid => 'colab', | ||
| 24 | + groups => ['sudo', 'mailman'], | ||
| 25 | + managehome => true, | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + group { 'mailman': | ||
| 29 | + ensure => present, | ||
| 30 | + system => true, | ||
| 31 | + before => User['colab'], | ||
| 32 | + } | ||
| 33 | + | ||
| 22 | postgresql::server::db { 'colab': | 34 | postgresql::server::db { 'colab': |
| 23 | user => 'colab', | 35 | user => 'colab', |
| 24 | password => 'colab', | 36 | password => 'colab', |