From 7968db2a87bf98cfd0b6f4dfb211696b167d6d57 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 7 Apr 2009 23:20:17 +0200 Subject: [PATCH] This is my version of mkdir -p --- modules/apache2/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index 487409f6b..ae66345e0 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -15,6 +15,12 @@ class apache2 { "puppet:///apache2/common/etc/apache2/sites-available/default-debian.org" ], require => Package["apache2"], notify => Exec["apache2 reload"]; + "/srv/www": + mode => 755, + ensure => directory; + "/srv/www/default.debian.org": + mode => 755, + ensure => directory; "/srv/www/default.debian.org/htdocs": mode => 755, ensure => directory; -- 2.20.1