Class Puppet::Util::IniConfig::File
In: lib/puppet/util/inifile.rb
Parent: Object

A logical .ini-file that can be spread across several physical files. For each physical file, call read with the filename

Methods

[]   add_section   each_file   each_section   include?   new   read   store  

Public Class methods

Public Instance methods

Return the Section with the given name or nil

Add a section to be stored in FILE when store is called

Execute BLOCK, passing each file constituting this inifile as an argument

Execute BLOCK, passing each section in this file as an argument

Return true if the file contains a section with name NAME

Add the contents of the file with name FILE to the already existing sections

Store all modifications made to sections in this file back to the physical files. If no modifications were made to a physical file, nothing is written

[Validate]