Class: Babushka::YumHelper

Inherits:
PkgHelper show all
Defined in:
lib/babushka/pkg_helpers/yum_helper.rb

Class Method Summary (collapse)

Methods inherited from PkgHelper

_install!, all_manager_keys, bin_path, cmd_in_path?, cmdline_spec_for, has?, install!, manager_dep, pkg_update_command, pkg_update_timeout, prefix, present?, should_sudo?, update_pkg_lists, update_pkg_lists_if_required

Methods included from VersionOf::Helpers

#VersionOf

Methods included from ShellHelpers

#cmd_dir, #failable_shell, #log_shell, #login_shell, #raw_shell, #shell, #shell!, #shell?, #sudo, #which

Methods included from LogHelpers

#debug, #log, #log_block, #log_error, #log_ok, #log_verbose, #log_warn

Class Method Details

+ (Object) manager_key



7
# File 'lib/babushka/pkg_helpers/yum_helper.rb', line 7

def manager_key; :yum end

+ (Object) pkg_binary



6
# File 'lib/babushka/pkg_helpers/yum_helper.rb', line 6

def pkg_binary; "yum" end

+ (Object) pkg_cmd



5
# File 'lib/babushka/pkg_helpers/yum_helper.rb', line 5

def pkg_cmd; pkg_binary end

+ (Object) pkg_type



4
# File 'lib/babushka/pkg_helpers/yum_helper.rb', line 4

def pkg_type; :rpm end