From f88c4bc8ae8209a2982199d8181aefc374a0a9e3 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 16 Jan 2012 15:34:01 +0000 Subject: fix default value of requresting sympa rpm for all files --- modules/sympa/manifests/init.pp | 11 +++++------ 1 file 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], } } -- cgit v1.2.1