Resource Type: fm_append

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

Overview

Append lines to a text file

Properties

  • ensure (defaults to: present)

    Add or remove the requested lines from the file

    Supported values:
    • present
    • absent

Parameters

  • data

    Lines to add to the file - accepts string or array. If n present newlines will be inserted

  • flags

    Regexp flags

  • match_start (defaults to: false)

    If specified, remove the line matching this regexp and all subsequent lines, then append data

  • path

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