Method: Puppet::Type#flush

Defined in:
lib/puppet/type.rb

#flush????

TODO:

What does Flushing the provider mean? Why is it interesting to know that this is called by the transaction? (It is not explained anywhere what a transaction is).

Flushes the provider if supported by the provider, else no action. This is called by the transaction.

Returns:

  • WHAT DOES IT RETURN? GUESS IS VOID



1037
1038
1039
# File 'lib/puppet/type.rb', line 1037

def flush
  provider.flush if provider and provider.respond_to?(:flush)
end