summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2012-03-26 09:46:22 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2012-03-26 09:46:22 +0200
commitc158a0fec67b571eb9445a384e2cb1689e47db87 (patch)
tree9474e353276abb30a6f0eedbb1e0d0a5d84c5501 /manifests
parent1658e07b4e4930e72fb7e75fa74db5e490afcc13 (diff)
Add doc for augeas::lens
Diffstat (limited to 'manifests')
-rw-r--r--manifests/lens.pp21
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,