diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2012-03-26 09:46:22 +0200 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2012-03-26 09:46:22 +0200 |
commit | c158a0fec67b571eb9445a384e2cb1689e47db87 (patch) | |
tree | 9474e353276abb30a6f0eedbb1e0d0a5d84c5501 /manifests/lens.pp | |
parent | 1658e07b4e4930e72fb7e75fa74db5e490afcc13 (diff) |
Add doc for augeas::lens
Diffstat (limited to 'manifests/lens.pp')
-rw-r--r-- | manifests/lens.pp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/lens.pp b/manifests/lens.pp index 109dd38..c2bcd46 100644 --- a/manifests/lens.pp +++ b/manifests/lens.pp @@ -1,3 +1,24 @@ +/* + +== Definition: augeas::lens + +Deploy an Augeas lens (and its test file). +Check the lens (and run the unit tests) automatically and remove the files if the checks fail. + +Parameters: +- *ensure*: present/absent +- *lens_source*: the source for the lens +- *test_source*: optionally, the source for the test file. + +Example usage: + + augeas::lens { "networkmanager": + lens_source => "puppet:///modules/networkmanager/lenses/networkmanager.aug", + test_source => "puppet:///modules/networkmanager/lenses/test_networkmanager.aug", + } + +*/ + define augeas::lens ( $ensure=present, $lens_source, |