summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorRaymond Maika <rmaika@patientway.com>2015-07-30 14:05:39 -0400
committerRaymond Maika <raymond.maika@cengn.ca>2015-07-30 14:55:32 -0400
commit35e92645f727f02ef9ace8948154079bc0fff05a (patch)
tree1d9c42cc6ea5a89b159cdd1329aedd7c502bb699 /README.markdown
parent4d889cbcb6f5eb2358eed940f2d40d1f73cc8f51 (diff)
downloadpuppet-stdlib-35e92645f727f02ef9ace8948154079bc0fff05a.tar.gz
puppet-stdlib-35e92645f727f02ef9ace8948154079bc0fff05a.tar.bz2
(MODULES-2024) Adding replace attribute to file_line
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index eef538a..090bb09 100644
--- a/README.markdown
+++ b/README.markdown
@@ -99,6 +99,7 @@ All parameters are optional, unless otherwise noted.
* `multiple`: Determines if `match` and/or `after` can change multiple lines. If set to false, an exception will be raised if more than one line matches. Valid options: 'true', 'false'. Default: Undefined.
* `name`: Sets the name to use as the identity of the resource. This is necessary if you want the resource namevar to differ from the supplied `title` of the resource. Valid options: String. Default: Undefined.
* `path`: **Required.** Defines the file in which Puppet will ensure the line specified by `line`. Must be an absolute path to the file.
+* `replace`: Defines whether the resource will overwrite an existing line that matches the `match` parameter. If set to false and a line is found matching the `match` param, the line will not be placed in the file. Valid options: true, false, yes, no. Default: true
### Functions