Class: FreeBSD::Host

Inherits:
Unix::Host show all
Includes:
Exec
Defined in:
lib/beaker/host/freebsd.rb

Constant Summary

Constants included from Unix::Pkg

Unix::Pkg::DEBIAN_PLATFORM_CODENAMES

Constants inherited from Beaker::Host

Beaker::Host::SELECT_TIMEOUT

Instance Attribute Summary

Attributes included from Beaker::CommandFactory

#assertions

Attributes inherited from Beaker::Host

#host_hash, #logger, #name, #options

Instance Method Summary collapse

Methods included from Exec

#echo_to_file

Methods included from Beaker::CommandFactory

#execute, #fail_test

Methods included from Unix::Pkg

#check_for_command, #check_for_package, #deploy_apt_repo, #deploy_package_repo, #deploy_yum_repo, #deploy_zyp_repo, #determine_if_x86_64, #install_package, #pkg_initialize, #uninstall_package, #update_apt_if_needed, #upgrade_package

Methods included from Unix::Exec

#add_env_var, #clear_env_var, #delete_env_var, #echo, #get_env_var, #get_ip, #mirror_env_to_profile_d, #mkdir_p, #mv, #path, #ping, #reboot, #rm_rf, #touch

Methods included from Unix::File

#file_exist?, #path_split, #tmpdir, #tmpfile

Methods included from Unix::Group

#group_absent, #group_get, #group_gid, #group_list, #group_present

Methods included from Unix::User

#user_absent, #user_get, #user_list, #user_present

Methods inherited from Beaker::Host

#+, #[], #[]=, #close, #connection, create, #delete, #do_rsync_to, #do_scp_from, #do_scp_to, #exec, #get_ip, #graceful_restarts?, #has_key?, #hostname, #initialize, #ip, #is_cygwin?, #is_pe?, #is_powershell?, #is_using_passenger?, #is_x86_64?, #log_prefix, #node_name, #pkg_initialize, #platform, #port_open?, #puppet, #reachable_name, #to_s, #to_str, #up?, #use_service_scripts?, #uses_passenger!

Constructor Details

This class inherits a constructor from Beaker::Host

Instance Method Details

#platform_defaultsObject



16
17
18
19
20
21
22
23
# File 'lib/beaker/host/freebsd.rb', line 16

def platform_defaults
  h = Beaker::Options::OptionsHash.new
  h.merge({
    'user'              => 'root',
    'group'             => 'root',
    'pathseparator'     => ':',
    })
end