aboutsummaryrefslogtreecommitdiffstats
path: root/modules/spamassassin/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/spamassassin/manifests')
-rw-r--r--modules/spamassassin/manifests/init.pp11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/spamassassin/manifests/init.pp b/modules/spamassassin/manifests/init.pp
index 7562349c..6ccbeba2 100644
--- a/modules/spamassassin/manifests/init.pp
+++ b/modules/spamassassin/manifests/init.pp
@@ -1,6 +1,11 @@
class spamassassin {
- package { "spamassassin", "spamassassin-sa-compile":
+ package { "spamassassin-sa-compile":
+ ensure => installed,
+ notify => "sa-compile",
+ }
+
+ package { "spamassassin":
ensure => installed,
}
@@ -12,4 +17,8 @@ class spamassassin {
requires => Package["spamassassin"],
content => template('spamassassin/local.cf')
}
+
+ exec { "sa-compile":
+ refreshonly => true,
+ }
}