dev/provisioning/modules/stdlib/examples/file_line.pp
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 17 Oct 2016 00:30:36 +0530
changeset 342 9375b692ff22
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Display transcript by default

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