From 1e805e721ae5d1f2dfe0a306596890edb4950e75 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 9 Jan 2009 01:24:57 +0000 Subject: fix import problem --- manifests/web/lighttpd.pp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/web/lighttpd.pp b/manifests/web/lighttpd.pp index b2d29e1..0901442 100644 --- a/manifests/web/lighttpd.pp +++ b/manifests/web/lighttpd.pp @@ -1,10 +1,3 @@ -class lighttpd::base::git::web inherits lighttpd::base { - File['/etc/lighttpd/lighttpd.conf']{ - source => [ "puppet://$server/files/git/web/${fqdn}/lighttpd.conf", - "puppet://$server/files/git/web/lighttpd.conf", - "puppet://$server/git/web/lighttpd.conf" ], - } -} class git::web::lighttpd { include lighttpd include lighttpd::base::git::web @@ -32,3 +25,10 @@ class git::web::lighttpd { owner => root, group => 0, mode => 0755; } } +class lighttpd::base::git::web inherits lighttpd::base { + File['/etc/lighttpd/lighttpd.conf']{ + source => [ "puppet://$server/files/git/web/${fqdn}/lighttpd.conf", + "puppet://$server/files/git/web/lighttpd.conf", + "puppet://$server/git/web/lighttpd.conf" ], + } +} -- cgit v1.2.3