patch

Table of Contents

  1. Description
  2. Usage - Configuration options and additional functionality

Description

Apply a diff using the patch command.

Usage

patch { 'patch vendor templates':
  target => '/opt/application/templates',
  source => file("${module_name}/vendor.patch"),
  strip  => 1,
}