- @doc = "Create a concat fragment to be used by concat.
- the `concat_fragment` type creates a file fragment to be collected by concat based on the tag.
- The example is based on exported resources.
-
- Example:
- @@concat_fragment { \"uniqe_name_${::fqdn}\":
- tag => 'unique_name',
- order => 10, # Optional. Default to 10
- content => 'some content' # OR
- content => template('template.erb') # OR
- source => 'puppet:///path/to/file'
- }
- "
-
- newparam(:name, :namevar => true) do
- desc "Unique name"
+ @doc = <<-DOC
+ @summary
+ Manages the fragment.
+
+ @example
+ # The example is based on exported resources.
+
+ concat_fragment { \"uniqe_name_${::fqdn}\":
+ tag => 'unique_name',
+ order => 10, # Optional. Default to 10
+ content => 'some content' # OR
+ # content => template('template.erb')
+ source => 'puppet:///path/to/file'
+ }
+ DOC
+
+ newparam(:name, namevar: true) do
+ desc 'Name of resource.'