methods/in_common.rb
# Check a filesystem / directory exists
Check a filesystem / directory exists
Check a filesystem / directory exists
def check_fs_exists(options,dir_name)
  output = ""
  if options['host-os-name'].to_s.match(/SunOS/)
    output = check_zfs_fs_exists(options,dir_name)
  else
    check_dir_exists(options,dir_name)
  end
  return output
end
def check_fs_exists ( options , dir_name ) output = "" if options [ 'host-os-name' ] . to_s . match ( / SunOS / ) output = check_zfs_fs_exists ( options , dir_name ) else check_dir_exists ( options , dir_name ) end return output end
Check a filesystem / directory exists
Check a filesystem / directory exists
options
<not_specific>
dir_name
<not_specific>