diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-23 02:19:37 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-23 02:19:37 +0000 |
commit | f3797af3eab136e23a857fc44f325e5a9ec7ffc5 (patch) | |
tree | daef873e60ba4642d39772c914e0f2750f15ba6f /modules/spamassassin/manifests | |
parent | bfbed6bba4fc7fb66390c495e5c9e3e12bbd61d8 (diff) | |
download | puppet-f3797af3eab136e23a857fc44f325e5a9ec7ffc5.tar puppet-f3797af3eab136e23a857fc44f325e5a9ec7ffc5.tar.gz puppet-f3797af3eab136e23a857fc44f325e5a9ec7ffc5.tar.bz2 puppet-f3797af3eab136e23a857fc44f325e5a9ec7ffc5.tar.xz puppet-f3797af3eab136e23a857fc44f325e5a9ec7ffc5.zip |
- add spamassassin module
Diffstat (limited to 'modules/spamassassin/manifests')
-rw-r--r-- | modules/spamassassin/manifests/init.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/spamassassin/manifests/init.pp b/modules/spamassassin/manifests/init.pp new file mode 100644 index 00000000..7562349c --- /dev/null +++ b/modules/spamassassin/manifests/init.pp @@ -0,0 +1,15 @@ +class spamassassin { + + package { "spamassassin", "spamassassin-sa-compile": + ensure => installed, + } + + file { "/etc/mail/spamassassin/local.cf": + ensure => present, + owner => root, + group => root, + mode => 644, + requires => Package["spamassassin"], + content => template('spamassassin/local.cf') + } +} |