summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormicah <micah@riseup.net>2013-02-20 11:05:16 -0500
committermicah <micah@riseup.net>2013-02-20 11:05:16 -0500
commitaa31dc9e7ea2161c34826279c2302bacd8fa7233 (patch)
treec3ed1595604310fb18b8fefb2ae80dcbbc9162d2 /README
parent51a9f5b617ea6245860b653d6cea01be878a4693 (diff)
Update README
The previous version said that one of the three things it did was to "provide a few lenses only included in recent augeas releases". The module doesn't do that anymore, and some of the other things it did do were not document, so this updates the README to be more current.
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 19 insertions, 3 deletions
diff --git a/README b/README
index 84d77c6..460e4c0 100644
--- a/README
+++ b/README
@@ -7,8 +7,24 @@
== Description ==
This module does 3 things:
-
- o provides a few lenses only included in recent augeas releases.
- o let's you force the version by defining $augeas_version, else puppet will
+ o lets you force the augeas version by defining $augeas_version, otherwise puppet will
only ensure the packages are present.
+ o lets you force the ruby library version by defining $augeas_ruby_version, otherwise puppet will
+ only ensure the libagueas-ruby version will be installed according to internal critera
+ o lets you deploy an augeas lens and any associated test files, running unit tests and not installing if they fail:
+
+ Parameters:
+ - *ensure*: present/absent
+ - *lens_source*: the source for the lens
+ - *test_source*: optionally, the source for the test file.
+ - *stock_since*: optionally, indicate in which version of Augeas
+ the lens became stock, so it will not be deployed above that version.
+
+ Example usage:
+
+ augeas::lens { 'networkmanager':
+ lens_source => 'puppet:///modules/networkmanager/lenses/networkmanager.aug',
+ test_source => 'puppet:///modules/networkmanager/lenses/test_networkmanager.aug',
+ stock_since => '1.0.0',
+ }