summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-01-08 10:11:04 +0100
committermh <mh@immerda.ch>2010-01-08 10:11:04 +0100
commit5162e7206f1910b3f0a999c4a835a76a28873211 (patch)
tree7e8d3f7a9cc6e7c70e59aaf24cc41a9b83252977
parent0cae6388ab8d68342e8fdc698283bb68cb0383f3 (diff)
both can have this dependency
-rw-r--r--manifests/web/repo/lighttpd.pp7
1 files 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 {