| Class | Puppet::Util::Settings |
| In: |
lib/puppet/util/settings.rb
|
| Parent: | Object |
The class for handling configuration files.
| ReadOnly | = | [:run_mode, :name] |
| file | [RW] | |
| timer | [R] |
Generate the list of valid arguments, in a format that GetoptLong can understand, and add them to the passed option list.
Generate the list of valid arguments, in a format that OptionParser can understand, and add them to the passed option list.
Set a bunch of defaults in a given section. The sections are actually pretty pointless, but they help break things up a bit, anyway.
Unsafely parse the file — this isn‘t thread-safe and causes plenty of problems if used directly.
Find the correct value using our search path. Optionally accept an environment in which to search before the other configuration sections.