diff options
-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, |