dev/provisioning/modules/stdlib/examples/file_line.pp
author ymh <ymh.work@gmail.com>
Mon, 30 May 2016 11:27:18 +0200
changeset 165 3c36874da933
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
add new documents and transcript for tests

# This is a simple smoke test
# of the file_line resource type.
file { '/tmp/dansfile':
  ensure => file,
} ->
file_line { 'dans_line':
  line => 'dan is awesome',
  path => '/tmp/dansfile',
}