aboutsummaryrefslogtreecommitdiffstats
path: root/modules/amavis/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-23 02:19:36 +0000
committerMichael Scherer <misc@mageia.org>2010-11-23 02:19:36 +0000
commitbfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8 (patch)
treea0e6d84028eb46bb6d1cda7f5d0bc10a8c43350a /modules/amavis/manifests
parentc65a982acb67ec94fba484d56badc4d557f4e4d9 (diff)
downloadpuppet-bfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8.tar
puppet-bfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8.tar.gz
puppet-bfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8.tar.bz2
puppet-bfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8.tar.xz
puppet-bfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8.zip
- add the start of a amavis module ( to interface postfix with spamassassin )
Diffstat (limited to 'modules/amavis/manifests')
-rw-r--r--modules/amavis/manifests/init.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/amavis/manifests/init.pp b/modules/amavis/manifests/init.pp
new file mode 100644
index 00000000..cab52b99
--- /dev/null
+++ b/modules/amavis/manifests/init.pp
@@ -0,0 +1,20 @@
+class amavis {
+
+ package { "amavisd-new":
+ ensure => installed,
+ }
+
+ service { "amavisd":
+ ensure => running,
+ path => "/etc/init.d/amavisd",
+ }
+
+ file { "/etc/amavisd/amavisd.conf":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ requires => Package["amavisd-new"],
+ content => template('amavis/amavisd.conf')
+ }
+}