summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-16 17:36:23 +0200
committermh <mh@immerda.ch>2010-10-16 17:36:23 +0200
commit0f570f4d2185ccadf4fbc6839c6423bd75ed7476 (patch)
tree34609f404e7bc0b5d3484ed380b5fd077342341b
parent71db30c4f9dec64cf749370fd6110b49237adf8f (diff)
downloadpuppet-lighttpd-0f570f4d2185ccadf4fbc6839c6423bd75ed7476.tar.gz
puppet-lighttpd-0f570f4d2185ccadf4fbc6839c6423bd75ed7476.tar.bz2
add dependency
-rw-r--r--manifests/debian.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index 0b67924..a5d8fd0 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,8 +1,10 @@
class lighttpd::debian inherits lighttpd::base {
file{
'/var/www/lighttpd':
- ensure => directory;
+ ensure => directory,
+ require => Package['lighttpd'];
'/var/www/index.lighttpd.html':
ensure => absent,
+ require => Package['lighttpd'];
}
}