]> gitweb.fluxo.info Git - puppet-lighttpd.git/commitdiff
add class to manage parent users directory
authormh <mh@immerda.ch>
Sun, 17 Oct 2010 15:08:48 +0000 (17:08 +0200)
committermh <mh@immerda.ch>
Sun, 17 Oct 2010 15:08:48 +0000 (17:08 +0200)
manifests/users.pp [new file with mode: 0644]

diff --git a/manifests/users.pp b/manifests/users.pp
new file mode 100644 (file)
index 0000000..809060a
--- /dev/null
@@ -0,0 +1,8 @@
+class lighttpd::users {
+  include ::lighttpd
+  file{'/var/www/users':
+    ensure => directory,
+    require => Package['lighttpd'],
+    owner => root, group => 0, mode => 0644;
+  }
+}