Resource Type: fm_gsub

Defined in:
lib/puppet/type/fm_gsub.rb
Providers:
ruby

Overview

Global find and replace

Properties

  • ensure (defaults to: present)

    replace or delete the requested regexp from the file

    Supported values:
    • present
    • absent

Parameters

  • data

    replacement data for matches. If n present newlines will be inserted

  • flags

    Regexp flags

  • match (defaults to: false)

    Target regexp to search for

  • path

    The file to operate on - you can only prepend once to any given file