summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-17 17:08:48 +0200
committermh <mh@immerda.ch>2010-10-17 17:08:48 +0200
commitda31cd4009c292bf26ffc97ca052c0ee827f4dc9 (patch)
tree4010cd55696e428d8dd69617c9e018eae44694e1
parent657cbbaee9aef1ef536d1cfa4c22d99653facd42 (diff)
downloadpuppet-lighttpd-da31cd4009c292bf26ffc97ca052c0ee827f4dc9.tar.gz
puppet-lighttpd-da31cd4009c292bf26ffc97ca052c0ee827f4dc9.tar.bz2
add class to manage parent users directory
-rw-r--r--manifests/users.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/users.pp b/manifests/users.pp
new file mode 100644
index 0000000..809060a
--- /dev/null
+++ b/manifests/users.pp
@@ -0,0 +1,8 @@
+class lighttpd::users {
+ include ::lighttpd
+ file{'/var/www/users':
+ ensure => directory,
+ require => Package['lighttpd'],
+ owner => root, group => 0, mode => 0644;
+ }
+}