Module concat
In: /Users/brice/cvs/puppet/vendors/concat/lib/facter/concat_basedir.rb
/Users/brice/cvs/puppet/vendors/concat/manifests/fragment.pp
/Users/brice/cvs/puppet/vendors/concat/manifests/init.pp
/Users/brice/cvs/puppet/vendors/concat/manifests/setup.pp

Defines

concat   fragment  

Custom Facts

concat_basedir  

Classes and Modules

Class concat::setup

Defines

concat( $group => 'concat::setup::root_group', $force => 'false', $gnu => 'undef', $mode => '0644', $backup => 'puppet', $order => 'alpha', $path => 'name', $warn => 'false', $owner => '::id' )

Sets up so that you can use fragments to build a final config file,

OPTIONS:

 - path       The path to the final file. Use this in case you want to
              differentiate between the name of a resource and the file path.
              Note: Use the name you provided in the target of your
              fragments.
 - mode       The mode of the final file
 - owner      Who will own the file
 - group      Who will own the file
 - force      Enables creating empty files if no fragments are present
 - warn       Adds a normal shell style comment top of the file indicating
              that it is built by puppet
 - backup     Controls the filebucketing behavior of the final file and
              see File type reference for its use.  Defaults to 'puppet'

ACTIONS:

 - Creates fragment directories if it didn't exist already
 - Executes the concatfragments.sh script to build the final file, this
   script will create directory/fragments.concat.   Execution happens only
   when:
   * The directory changes
   * fragments.concat != final destination, this means rebuilds will happen
     whenever someone changes or deletes the final file.  Checking is done
     using /usr/bin/cmp.
   * The Exec gets notified by something else - like the concat::fragment
     define
 - Copies the file over to the final destination using a file resource

ALIASES:

 - The exec can notified using Exec["concat_/path/to/file"] or
   Exec["concat_/path/to/directory"]
 - The final file can be referened as File["/path/to/file"] or
   File["concat_/path/to/file"]
fragment( $group => 'concat::setup::root_group', $mode => '0644', $backup => 'puppet', $order => '10', $content => '', $ensure => 'present', $target, $source => '', $owner => '::id' )

Puts a file fragment into a directory previous setup using concat

OPTIONS:

  - target    The file that these fragments belong to
  - content   If present puts the content into the file
  - source    If content was not specified, use the source
  - order     By default all files gets a 10_ prefix in the directory
              you can set it to anything else using this to influence the
              order of the content in the file
  - ensure    Present/Absent or destination to a file to include another file
  - mode      Mode for the file
  - owner     Owner of the file
  - group     Owner of the file
  - backup    Controls the filebucketing behavior of the final file and
              see File type reference for its use.  Defaults to 'puppet'

[Validate]