Class Puppet::Util::FileParsing::FileRecord
In: lib/puppet/util/fileparsing.rb
Parent: Object

Methods

fields=   join   new   optional=   post_parse=   pre_gen=   text?   to_line=  

Included Modules

Puppet::Util Puppet::Util::MethodHelper

Constants

INVALID_FIELDS = [:record_type, :target, :on_disk]

Attributes

absent  [RW] 
block_eval  [RW] 
fields  [R] 
joiner  [RW] 
match  [RW] 
name  [RW] 
optional  [R] 
rollup  [RW] 
rts  [RW] 
separator  [RW] 
type  [R] 

Public Class methods

Public Instance methods

Customize this so we can do a bit of validation.

Convert a record into a line by joining the fields together appropriately. This is pulled into a separate method so it can be called by the hooks.

Customize this so we can do a bit of validation.

Create a hook that modifies the hash resulting from parsing.

Create a hook that modifies the hash just prior to generation.

Are we a text type?

[Validate]