summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp22
1 files changed, 16 insertions, 6 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 24d1761..37ad0e2 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -13,12 +13,22 @@ class augeas::base {
# ensure no file not managed by puppet ends up in there.
file { $lens_dir:
- ensure => directory,
- purge => true,
- force => true,
- mode => '0644',
- owner => 'root',
- group => 'root',
+ ensure => directory,
+ purge => true,
+ force => true,
+ recurse => true,
+ recurselimit => 1,
+ mode => '0644',
+ owner => 'root',
+ group => 'root',
+ }
+
+ file { "${lens_dir}/dist":
+ ensure => directory,
+ purge => false,
+ mode => '0644',
+ owner => 'root',
+ group => 'root',
}
file { "${lens_dir}/tests":