Method: Puppet::Environments::Cached#clear_all
- Defined in:
- lib/puppet/environments.rb
#clear_all ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Clears all cached environments. (The intention is that this could be used from a MANUAL cache eviction command (TBD)
449 450 451 452 453 454 455 456 457 458 |
# File 'lib/puppet/environments.rb', line 449 def clear_all super @cache.each_pair do |name, entry| clear_entry(name, entry) end @cache = {} Puppet::GettextConfig.delete_environment_text_domains end |