diff options
author | Damien Lallement <dams@mageia.org> | 2010-11-05 15:46:46 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2010-11-05 15:46:46 +0000 |
commit | c228260704940df8b37ac068b52745e4ba2b034d (patch) | |
tree | 696d0f34fe3f5f8ce9e741249400dc2bfef149c4 /modules/blog/manifests | |
parent | b22561c0f2bf978fdb9c8ca56ad7247798052a27 (diff) | |
download | puppet-c228260704940df8b37ac068b52745e4ba2b034d.tar puppet-c228260704940df8b37ac068b52745e4ba2b034d.tar.gz puppet-c228260704940df8b37ac068b52745e4ba2b034d.tar.bz2 puppet-c228260704940df8b37ac068b52745e4ba2b034d.tar.xz puppet-c228260704940df8b37ac068b52745e4ba2b034d.zip |
fix 'ensure' to 'directory'
Diffstat (limited to 'modules/blog/manifests')
-rw-r--r-- | modules/blog/manifests/init.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index cc124ce4..043e014a 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -15,11 +15,12 @@ class blog { mode => 755, content => template("blog/check_new-blog-post.sh") } - file { "/var/lib/blog/": - ensure => present, + file { "/var/lib/blog": + ensure => directory, owner => blog, group => blog, - mode => 644 + mode => 644, + recurse => true } cron { blog: user => blog, |