Commit 34896a83ff6e35251ea83b5748415a904d4e4232
1 parent
0ea3d8a1
Exists in
master
and in
39 other branches
Fixing wrong command path
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
puppet/modules/colab/manifests/init.pp
... | ... | @@ -20,11 +20,13 @@ class colab { |
20 | 20 | } |
21 | 21 | |
22 | 22 | Mailalias { |
23 | - notify => Exec['newaliases'], | |
23 | + notify => Exec['newaliases'], | |
24 | + require => Class['postfix'], | |
24 | 25 | } |
25 | 26 | |
26 | 27 | exec { 'newaliases': |
27 | - path => '/usr/bin/newaliases', | |
28 | + command => 'sendmail -bi', | |
29 | + path => '/usr/sbin', | |
28 | 30 | refreshonly => true, |
29 | 31 | } |
30 | 32 | |
... | ... | @@ -43,7 +45,6 @@ class colab { |
43 | 45 | mailalias { 'colab': |
44 | 46 | ensure => present, |
45 | 47 | recipient => 'root', |
46 | - require => Package['postfix'], | |
47 | 48 | } |
48 | 49 | |
49 | 50 | file { 'colab-sudoers': | ... | ... |