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

#defaults, #logger, #name

Class Method Summary collapse

Methods included from Exec

#echo_to_file

Methods included from Beaker::CommandFactory

#execute, #fail_test

Methods inherited from Unix::Host

aio_defaults, pe_defaults

Methods included from Unix::Pkg

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

Methods included from Unix::Exec

#echo, #get_ip, #path, #reboot, #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

#+, #[], #[]=, #add_env_var, #build_deprecated_keys, #close, #connection, create, #delete_env_var, #determine_if_x86_64, #do_rsync_to, #do_scp_from, #do_scp_to, #exec, #get_env_var, #get_ip, #graceful_restarts?, #has_key?, #hostname, #initialize, #ip, #is_cygwin?, #is_pe?, #is_using_passenger?, #is_x86_64?, #log_prefix, #merge_defaults_for_type, #mirror_env_to_profile_d, #mkdir_p, #node_name, #pkg_initialize, #platform, #port_open?, #puppet, #reachable_name, #rm_rf, #to_s, #to_str, #up?, #use_service_scripts?, #uses_passenger!

Constructor Details

This class inherits a constructor from Beaker::Host

Class Method Details

.foss_defaultsObject



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/beaker/host/freebsd.rb', line 16

def self.foss_defaults
  h = Beaker::Options::OptionsHash.new
  h.merge({
    'user'              => 'root',
    'group'             => 'puppet',
    'puppetserver-confdir' => '/etc/puppetserver/conf.d',
    'puppetservice'     => 'puppetmaster',
    'puppetpath'        => '/usr/local/etc/puppet/modules',
    'puppetvardir'      => '/var/lib/puppet',
    'puppetbin'         => '/usr/bin/puppet',
    'puppetbindir'      => '/usr/bin',
    'hieralibdir'       => '/opt/puppet-git-repos/hiera/lib',
    'hierapuppetlibdir' => '/opt/puppet-git-repos/hiera-puppet/lib',
    'hierabindir'       => '/opt/puppet-git-repos/hiera/bin',
    'hieradatadir'      => '/usr/local/etc/puppet/modules/hieradata',
    'hieraconf'         => '/usr/local/etc/puppet/modules/hiera.yaml',
    'distmoduledir'     => '/usr/local/etc/puppet/modules',
    'sitemoduledir'     => '/usr/share/puppet/modules',
    'pathseparator'     => ':',
    })
end