vagrant/plugins/guests/redhat/cap/rsync.rb

14 lines
260 B
Ruby
Raw Normal View History

module VagrantPlugins
module GuestRedHat
module Cap
class RSync
def self.rsync_install(machine)
machine.communicate.tap do |comm|
comm.sudo("yum -y install rsync")
end
end
end
end
end
end