dev/provisioning/modules/stdlib/examples/file_line.pp
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 18 Aug 2016 17:02:02 +0200
changeset 256 18f0c3ee9aa5
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Add title translation to 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',
}