diff options
author | Marcin Owsiany <marcin@owsiany.pl> | 2007-10-06 13:29:17 +0100 |
---|---|---|
committer | Marcin Owsiany <marcin@owsiany.pl> | 2007-10-06 13:29:17 +0100 |
commit | 5c32c8e8382d800968225734d06663c1a75d80b2 (patch) | |
tree | e1558ecc2a067cbb49580c203426fb886dbc8f2a /lib/puppet | |
parent | d055cbc8caa215301bbc81ce551571c82594d7ae (diff) | |
download | puppet-5c32c8e8382d800968225734d06663c1a75d80b2.tar.gz puppet-5c32c8e8382d800968225734d06663c1a75d80b2.tar.xz puppet-5c32c8e8382d800968225734d06663c1a75d80b2.zip |
Somewhat better documentation of the :absent field feature in fileparsing.
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/util/fileparsing.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/util/fileparsing.rb b/lib/puppet/util/fileparsing.rb index 7552e8141..8e39719c8 100644 --- a/lib/puppet/util/fileparsing.rb +++ b/lib/puppet/util/fileparsing.rb @@ -268,7 +268,9 @@ module Puppet::Util::FileParsing # Define a new type of record. These lines get split into hashes. Valid # options are: - # * <tt>:absent</tt>: What to use when a field is absent. Defaults to "". + # * <tt>:absent</tt>: What to use as value within a line, when a field is + # absent. Note that in the record object, the literal :absent symbol is + # used, and not this value. Defaults to "". # * <tt>:fields</tt>: The list of fields, as an array. By default, all # fields are considered required. # * <tt>:joiner</tt>: How to join fields together. Defaults to '\t'. |