From 5162e7206f1910b3f0a999c4a835a76a28873211 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 8 Jan 2010 10:11:04 +0100 Subject: both can have this dependency --- manifests/web/repo/lighttpd.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/manifests/web/repo/lighttpd.pp b/manifests/web/repo/lighttpd.pp index 413bb72..a4f2467 100644 --- a/manifests/web/repo/lighttpd.pp +++ b/manifests/web/repo/lighttpd.pp @@ -3,12 +3,13 @@ define git::web::repo::lighttpd( $gitweb_url, $gitweb_config ){ - file{"/etc/lighttpd/gitweb.d/${name}.conf": } + include git::web::lighttpd + file{"/etc/lighttpd/gitweb.d/${name}.conf": + notify => Service['lighttpd'], + } if $ensure == 'present' { - include git::web::lighttpd File["/etc/lighttpd/gitweb.d/${name}.conf"]{ content => template("git/web/lighttpd"), - notify => Service['lighttpd'], owner => root, group => 0, mode => 0644; } } else { -- cgit v1.2.3