dev/provisioning/modules/stdlib/examples/file_line.pp
author ymh <ymh.work@gmail.com>
Tue, 23 Feb 2016 17:47:57 +0100
changeset 127 5cd8c3065c38
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
extract common functionalities to common module. First application to lexvo name resolving

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