From 34896a83ff6e35251ea83b5748415a904d4e4232 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 17 Dec 2013 15:46:13 -0200 Subject: [PATCH] Fixing wrong command path --- puppet/modules/colab/manifests/init.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/puppet/modules/colab/manifests/init.pp b/puppet/modules/colab/manifests/init.pp index 86982c8..f2146b9 100644 --- a/puppet/modules/colab/manifests/init.pp +++ b/puppet/modules/colab/manifests/init.pp @@ -20,11 +20,13 @@ class colab { } Mailalias { - notify => Exec['newaliases'], + notify => Exec['newaliases'], + require => Class['postfix'], } exec { 'newaliases': - path => '/usr/bin/newaliases', + command => 'sendmail -bi', + path => '/usr/sbin', refreshonly => true, } @@ -43,7 +45,6 @@ class colab { mailalias { 'colab': ensure => present, recipient => 'root', - require => Package['postfix'], } file { 'colab-sudoers': -- libgit2 0.21.2