File: format.pp

package info (click to toggle)
puppet-module-puppetlabs-concat 7.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 532 kB
  • sloc: ruby: 2,584; sh: 46; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
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"}',
}