summaryrefslogtreecommitdiff
path: root/manifests/vhosts.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhosts.pp')
-rw-r--r--manifests/vhosts.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/vhosts.pp b/manifests/vhosts.pp
new file mode 100644
index 0000000..9e02661
--- /dev/null
+++ b/manifests/vhosts.pp
@@ -0,0 +1,11 @@
+class lighttpd::vhosts {
+ file{'/etc/lighttpd/vhosts.d':
+ source => "puppet://$server/modules/common/empty",
+ ensure => directory,
+ purge => true,
+ recurse => true,
+ require => Package['lighttpd'],
+ notify => Service['lighttpd'],
+ owner => root, group => 0, mode => 0644;
+ }
+}