Method: Puppet::Util::IniConfig::Section#dirty?

Defined in:
lib/puppet/util/inifile.rb

#dirty?Boolean

Note:

This section is dirty if a key has been modified or if the section has been modified so the associated file can be rewritten without this section.

Does this section need to be updated in/removed from the associated file?

Returns:

  • (Boolean)


35
36
37
# File 'lib/puppet/util/inifile.rb', line 35

def dirty?
  @dirty or @destroy
end