Class
Specinfra::Command::Base::File
In:
lib/specinfra/command/base/file.rb
lib/specinfra/command/freebsd/base/file.rb
lib/specinfra/command/darwin/base/file.rb
lib/specinfra/command/aix/base/file.rb
lib/specinfra/command/smartos/base/file.rb
lib/specinfra/command/redhat/base/file.rb
lib/specinfra/command/solaris/base/file.rb
lib/specinfra/command/windows/base/file.rb
lib/specinfra/command/linux/base/file.rb
Parent:
Specinfra::Command::Base
Methods
change_group
change_mode
change_owner
check_attribute
check_contains
check_contains
check_contains_lines
check_contains_with_fixed_strings
check_contains_with_regexp
check_contains_within
check_contains_within
check_contains_within
check_exists
check_exists
check_has_mode
check_has_mode
check_has_mode
check_has_mode
check_has_version
check_is_accessible_by_user
check_is_accessible_by_user
check_is_accessible_by_user
check_is_accessible_by_user
check_is_accessible_by_user
check_is_accessible_by_user
check_is_block_device
check_is_character_device
check_is_dereferenceable
check_is_directory
check_is_directory
check_is_executable
check_is_file
check_is_file
check_is_grouped
check_is_grouped
check_is_grouped
check_is_grouped
check_is_hidden
check_is_immutable
check_is_link
check_is_linked_to
check_is_linked_to
check_is_linked_to
check_is_mounted
check_is_owned_by
check_is_owned_by
check_is_owned_by
check_is_owned_by
check_is_owned_by
check_is_pipe
check_is_readable
check_is_readonly
check_is_socket
check_is_symlink
check_is_system
check_is_writable
copy
create_as_directory
download
get_content
get_content
get_link_realpath
get_link_target
get_md5sum
get_md5sum
get_md5sum
get_md5sum
get_md5sum
get_mode
get_mode
get_mode
get_mtime
get_mtime
get_owner_group
get_owner_group
get_owner_group
get_owner_user
get_owner_user
get_owner_user
get_selinuxlabel
get_sha256sum
get_sha256sum
get_sha256sum
get_sha256sum
get_size
get_size
link_to
move
remove
Public Class methods
change_group
(file, group, options = {})
change_mode
(file, mode, options = {})
change_owner
(file, owner, group=nil, options = {})
check_attribute
(file, attribute)
check_contains
(file, pattern)
check_contains
(file, expected_pattern)
check_contains_lines
(file, expected_lines, from=nil, to=nil)
check_contains_with_fixed_strings
(file, expected_pattern)
check_contains_with_regexp
(file, expected_pattern)
check_contains_within
(file, pattern, from=nil, to=nil)
check_contains_within
(file, expected_pattern, from=nil, to=nil)
check_contains_within
(file, expected_pattern, from=nil, to=nil)
check_exists
(file)
check_exists
(file)
check_has_mode
(file, mode)
check_has_mode
(file, mode)
check_has_mode
(file, mode)
check_has_mode
(file, mode)
check_has_version
(name,version)
check_is_accessible_by_user
(file, user, access)
check_is_accessible_by_user
(file, user, access)
check_is_accessible_by_user
(file, user, access)
check_is_accessible_by_user
(file, user, access)
check_is_accessible_by_user
(file, user, access)
check_is_accessible_by_user
(file, user, access)
check_is_block_device
(file)
check_is_character_device
(file)
check_is_dereferenceable
(link)
check_is_directory
(dir)
check_is_directory
(directory)
check_is_executable
(file, by_whom)
check_is_file
(file)
check_is_file
(file)
check_is_grouped
(file, group)
check_is_grouped
(file, group)
check_is_grouped
(file, group)
check_is_grouped
(file, group)
check_is_hidden
(file)
check_is_immutable
(file)
check_is_link
(link)
check_is_linked_to
(link, target)
check_is_linked_to
(link, target)
check_is_linked_to
(link, target)
check_is_mounted
(path)
check_is_owned_by
(file, owner)
check_is_owned_by
(file, owner)
check_is_owned_by
(file, owner)
check_is_owned_by
(file, owner)
check_is_owned_by
(file, owner)
check_is_pipe
(file)
check_is_readable
(file, by_whom)
check_is_readonly
(file)
check_is_socket
(file)
check_is_symlink
(file)
check_is_system
(file)
check_is_writable
(file, by_whom)
copy
(src, dest, options = {})
create_as_directory
(file)
download
(src, dest)
get_content
(file)
get_content
(file)
get_link_realpath
(link)
get_link_target
(link)
get_md5sum
(file)
get_md5sum
(file)
get_md5sum
(file)
get_md5sum
(file)
get_md5sum
(file)
get_mode
(file)
get_mode
(file)
get_mode
(file)
get_mtime
(file)
get_mtime
(file)
get_owner_group
(file)
get_owner_group
(file)
get_owner_group
(file)
get_owner_user
(file)
get_owner_user
(file)
get_owner_user
(file)
get_selinuxlabel
(file)
get_sha256sum
(file)
get_sha256sum
(file)
get_sha256sum
(file)
get_sha256sum
(file)
get_size
(file)
get_size
(file)
link_to
(link, target, options = {})
move
(src, dest)
remove
(file)
[Validate]