class WRKFLO::NFSStep

Public Instance Methods

run() click to toggle source
# File lib/wrkflo/steps/nfs.rb, line 9
def run
  log "Mounting  #{config.host}:#{config.remote_path}  at  #{config.local_path}"
  `mount -t nfs #{config.host}:#{config.remote_path} #{config.local_path}`
end
unrun() click to toggle source
# File lib/wrkflo/steps/nfs.rb, line 14
def unrun
  log "Unmounting  #{config.host}:#{config.remote_path}  from  #{config.local_path}"
  `umount #{config.local_path}`
end