view modules/concat/examples/format.pp @ 275:d9352a684e62

Mass update of modules to remove deprecation warnings
author IBBoard <dev@ibboard.co.uk>
date Sun, 26 Jan 2020 11:36:07 +0000
parents
children adf6fe9bbc17
line wrap: on
line source

concat { '/tmp/file':
  format => 'yaml', # See REFERENCE.md for more formats
}

concat::fragment { '1':
  target  => '/tmp/file',
  content => '{"one": "foo"}',
}

concat::fragment { '2':
  target  => '/tmp/file',
  content => '{"two": "bar"}',
}