Class | Puppet::Util::Settings |
In: |
lib/puppet/util/settings.rb
|
Parent: | Object |
The class for handling configuration files.
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.
Convert the settings we manage into a catalog full of resources that model those settings. We currently have to go through Trans{Object,Bucket} instances, because this hasn‘t been ported yet.
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.