summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-16 16:54:09 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-16 16:54:09 -0200
commiteb728701336fc123810fe999c3d8f57dd7d3fffd (patch)
treea965d9d7fb2b1cb55688e71eda23e327db4b8b10 /manifests
parent66b96fe144ada95b1f3c51c14ff014b27f03254d (diff)
downloadpuppet-mail-eb728701336fc123810fe999c3d8f57dd7d3fffd.tar.gz
puppet-mail-eb728701336fc123810fe999c3d8f57dd7d3fffd.tar.bz2
Managing 05-node_id needed by squeeze
Diffstat (limited to 'manifests')
-rw-r--r--manifests/amavisd.pp14
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,
}