diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/amavisd.pp | 14 |
1 files changed, 14 insertions, 0 deletions
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, } |