Class: ForemanMaintain::PackageManager::Dnf

Inherits:
Yum
  • Object
show all
Defined in:
lib/foreman_maintain/package_manager/dnf.rb

Constant Summary

Constants inherited from Yum

Yum::PROTECTOR_CONFIG_FILE, Yum::PROTECTOR_PLUGIN_FILE, Yum::PROTECTOR_WHITELIST_FILE

Instance Method Summary collapse

Methods inherited from Yum

#files_not_owned_by_package, #find_installed_package, #install, #install_version_locking, #installed?, #lock_versions, parse_envra, #remove, #unlock_versions, #update, #update_available?, #version_locking_enabled?, #versions_locked?

Methods inherited from Base

#files_not_owned_by_package, #find_installed_package, #install, #install_version_locking, #installed?, #lock_versions, #remove, #unlock_versions, #update, #version_locking_enabled?, #versions_locked?

Instance Method Details

#clean_cache(assumeyes: false) ⇒ Object



3
4
5
6
# File 'lib/foreman_maintain/package_manager/dnf.rb', line 3

def clean_cache(assumeyes: false)
  dnf_action('clean', 'all', :assumeyes => assumeyes)
  super
end