summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorBryan Jen <bryan.jen@gmail.com>2015-07-30 13:34:26 -0700
committerBryan Jen <bryan.jen@gmail.com>2015-07-30 13:34:26 -0700
commitebf73482e55c827bcb46b7d6b479ae7afd3628af (patch)
tree0cbc3b9ca06e8057c220131ef5d06d95ae29c139 /README.markdown
parent41a7297cb73e48a9548d7d0137f2ffe4108f248a (diff)
parent35e92645f727f02ef9ace8948154079bc0fff05a (diff)
Merge pull request #494 from CENGN/fix/master/file_line_replace
[#puppethack] 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