aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-16 15:34:01 +0000
committerMichael Scherer <misc@mageia.org>2012-01-16 15:34:01 +0000
commitf88c4bc8ae8209a2982199d8181aefc374a0a9e3 (patch)
treea46d8bec71b7959476fb82bf2a3760c33c695993 /modules/sympa
parent56765237bc505379ad738de2443529a5b8b9377c (diff)
downloadpuppet-f88c4bc8ae8209a2982199d8181aefc374a0a9e3.tar
puppet-f88c4bc8ae8209a2982199d8181aefc374a0a9e3.tar.gz
puppet-f88c4bc8ae8209a2982199d8181aefc374a0a9e3.tar.bz2
puppet-f88c4bc8ae8209a2982199d8181aefc374a0a9e3.tar.xz
puppet-f88c4bc8ae8209a2982199d8181aefc374a0a9e3.zip
fix default value of requresting sympa rpm for all files
Diffstat (limited to 'modules/sympa')
-rw-r--r--modules/sympa/manifests/init.pp11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index f18a863c..d0b8f227 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -23,7 +23,11 @@ class sympa {
password => $pgsql_password,
description => "Sympa database",
}
-
+
+ File {
+ require => Package['sympa'],
+ }
+
file { '/etc/sympa/sympa.conf':
# should be cleaner to have it root owned, but puppet do not support acl
# and in any case, config will be reset if it change
@@ -31,12 +35,10 @@ class sympa {
group => apache,
mode => 640,
content => template("sympa/sympa.conf"),
- require => Package[sympa],
}
file { '/etc/sympa/auth.conf':
content => template("sympa/auth.conf"),
- require => Package[sympa],
notify => Service['httpd'],
}
@@ -65,7 +67,6 @@ class sympa {
purge => true,
recurse => true,
force => true,
- require => Package[sympa],
}
file { ["/etc/sympa/scenari/subscribe.open_web_only_notify",
@@ -88,7 +89,6 @@ class sympa {
file { ["/etc/sympa/topics.conf"]:
mode => 755,
source => "puppet:///modules/sympa/topics.conf",
- require => Package[sympa],
}
define ldap_search_filter {
@@ -132,7 +132,6 @@ class sympa {
file { "/var/lib/sympa/expl/":
ensure => directory,
owner => sympa,
- require => Package[sympa],
}
}