diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-23 02:19:36 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-23 02:19:36 +0000 |
commit | bfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8 (patch) | |
tree | a0e6d84028eb46bb6d1cda7f5d0bc10a8c43350a /modules/amavis/manifests | |
parent | c65a982acb67ec94fba484d56badc4d557f4e4d9 (diff) | |
download | puppet-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.pp | 20 |
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') + } +} |