From eb728701336fc123810fe999c3d8f57dd7d3fffd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 16 Feb 2011 16:54:09 -0200 Subject: Managing 05-node_id needed by squeeze --- manifests/amavisd.pp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'manifests') diff --git a/manifests/amavisd.pp b/manifests/amavisd.pp index 720c15c..0935c8b 100644 --- a/manifests/amavisd.pp +++ b/manifests/amavisd.pp @@ -41,6 +41,20 @@ class mail::amavisd { notify => Service['amavis'], } + case $lsbdistcodename { + 'lenny': { } + default: { + file { "/etc/amavis/conf.d/05-node_id": + ensure => present, + owner => root, + group => root, + mode => 0644, + content => template('mail/amavisd/05-node_id.erb'), + notify => Service['amavis'], + } + } + } + group { 'amavis': ensure => present, } -- cgit v1.2.3