diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-10-29 11:07:01 -0700 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-10-29 11:07:01 -0700 |
commit | e56729d284132adb7f40c511005f2b2c89df0014 (patch) | |
tree | e93ea52a40ac45d38186d4ef6e782b3d196cd5d3 /manifests | |
parent | 0c75e1584827e52c3af20d304a76111f37307c48 (diff) | |
parent | 53ab6b124272d9876b6f1b782c4fc38f791c56b8 (diff) |
Merge pull request #29 from liwo/master
Ensure lenses are owned by root
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/lens.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/lens.pp b/manifests/lens.pp index ac4fddf..b299dc6 100644 --- a/manifests/lens.pp +++ b/manifests/lens.pp @@ -30,6 +30,12 @@ define augeas::lens ( fail('You must declare the augeas class before using augeas::lens') } + File { + owner => 'root', + group => 'root', + mode => '0644', + } + if (!$stock_since or versioncmp($::augeasversion, $stock_since) < 0) { validate_re( |