From 0f570f4d2185ccadf4fbc6839c6423bd75ed7476 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 16 Oct 2010 17:36:23 +0200 Subject: add dependency --- manifests/debian.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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']; } } -- cgit v1.2.3