dev/provisioning/modules/stdlib/examples/file_line.pp
author Chloe Laisne <chloe.laisne@gmail.com>
Fri, 22 Jul 2016 16:11:44 +0200
changeset 247 7a5d729992b8
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Design and animate transcript

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