Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / concat / examples / format.pp
diff --git a/3rdparty/modules/concat/examples/format.pp b/3rdparty/modules/concat/examples/format.pp
new file mode 100644 (file)
index 0000000..f91d2d6
--- /dev/null
@@ -0,0 +1,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"}',
+}
\ No newline at end of file