Module: MintPress::OracleEBS::EbsUtils
- Includes:
- MintLogger
- Included in:
- Client, EBSPairsFile, EbsHost, EnvVariable, Host
- Defined in:
- src/oracle-ebs/lib/oracle-ebs/ebsutils.rb
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Method Summary collapse
-
#build_path(src_base_path:, tgt_base_path:, src_path:) ⇒ Object
build_path: Starting with src_path, build_path replaces the src_base with the tgt_base and returns that path.
- #check_base(calling_method:, base:) ⇒ Object
-
#copy_direct(src_host:, tgt_host:, source_dir:, target_dir:, src_owner:) ⇒ Object
copy_direct: Copies the source_dir on src_host to target_dir on tgt_host.
-
#copy_indirect(src_host:, tgt_host:, source_dir:, target_dir:) ⇒ Object
copy_indirect: Copies the current RUN_BASE from the source host to the target host.
- #create_tarball(src_host:, root_dir:, source_paths:, tarball:) ⇒ Object
- #set_ebs_init(host:, base:) ⇒ Object
- #translate_sff(flag) ⇒ Object
- #untar_tarball(tgt_host:, target_dir:, tarball:) ⇒ Object
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Instance Method Details
#build_path(src_base_path:, tgt_base_path:, src_path:) ⇒ Object
build_path: Starting with src_path, build_path replaces the src_base with the tgt_base and returns that path.
#check_base(calling_method:, base:) ⇒ Object
#copy_direct(src_host:, tgt_host:, source_dir:, target_dir:, src_owner:) ⇒ Object
copy_direct: Copies the source_dir on src_host to target_dir on tgt_host. Requires the ability to run
rsync between the hosts (ie no firewall issues between the two)
#copy_indirect(src_host:, tgt_host:, source_dir:, target_dir:) ⇒ Object
copy_indirect: Copies the current RUN_BASE from the source host to the target host.