dev/provisioning/modules/stdlib/examples/file_line.pp
author ymh <ymh.work@gmail.com>
Mon, 30 May 2016 00:32:20 +0200
changeset 164 5f1e1cc17e8a
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
add mirage fixtures and api path for testing in app client

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