Class: ForemanMaintain::PackageManager::Dnf
- Defined in:
- lib/foreman_maintain/package_manager/dnf.rb
Constant Summary
Constants inherited from Yum
Yum::PROTECTOR_CONFIG_FILE, Yum::PROTECTOR_WHITELIST_FILE
Instance Method Summary collapse
Methods inherited from Yum
#check_update, #files_not_owned_by_package, #find_installed_package, #install, #installed?, #list_installed_packages, #lock_versions, parse_envra, #protector_whitelist_file_nonzero?, #reinstall, #remove, #unlock_versions, #update, #update_available?, #versions_locked?
Methods inherited from Base
#files_not_owned_by_package, #find_installed_package, #install, #installed?, #lock_versions, #remove, #unlock_versions, #update, #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 |
#version_locking_supported? ⇒ Boolean
8 9 10 |
# File 'lib/foreman_maintain/package_manager/dnf.rb', line 8 def version_locking_supported? true end |