dev/provisioning/modules/stdlib/examples/file_line.pp
author ymh <ymh.work@gmail.com>
Tue, 04 Oct 2016 11:58:39 +0200
changeset 319 78990a8a069b
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Work on front and back integration, correct the expected data format

# 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',
}