summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorNate Potter <ntpttr@gmail.com>2016-06-28 20:30:41 -0700
committerDavid Schmitt <david.schmitt@puppet.com>2016-10-08 16:15:36 +0100
commit9debb12b2d6190045a11d2277c7b730ac5732f96 (patch)
tree39fbfeb2574cda3d3b5bc9c8adf3de11c09efe8f /README.markdown
parentf6bd01b784d279d477f327e5da76f3c27fcf4156 (diff)
(MODULES-3407) Clarify that 'after' in file_line accepts regex.
This patch updates the README to specify that the 'after' parameter in the file_line class accepts a regular expression.
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index d445cc5..838a065 100644
--- a/README.markdown
+++ b/README.markdown
@@ -124,7 +124,7 @@ error will be raised unless the `multiple => true` parameter is set.
All parameters are optional, unless otherwise noted.
-* `after`: Specifies the line after which Puppet adds any new lines. (Existing lines are added in place.) Valid options: String. Default: Undefined.
+* `after`: Specifies the line after which Puppet adds any new lines using a regular expression. (Existing lines are added in place.) Valid options: String containing a regex. Default: Undefined.
* `ensure`: Ensures whether the resource is present. Valid options: 'present', 'absent'. Default: 'present'.
* `line`: **Required.** Sets the line to be added to the file located by the `path` parameter. Valid options: String. Default: Undefined.
* `match`: Specifies a regular expression to run against existing lines in the file; if a match is found, it is replaced rather than adding a new line. A regex comparison is performed against the line value, and if it does not match, an exception is raised. Valid options: String containing a regex. Default: Undefined.