Resource Type: fm_replace
- Defined in:
- lib/puppet/type/fm_replace.rb
- Providers:
-
ruby
Overview
Replace one instance of /regex/ in a text file with data
and
remove all other instances. Note that this works like a line-by-line find
and replace. If there is nothing to replace then no change will be made!
(use file_line for that)