2014-01-31 03:26:43 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module GuestDebian
|
|
|
|
module Cap
|
|
|
|
class RSync
|
|
|
|
def self.rsync_install(machine)
|
2016-06-05 01:31:41 +00:00
|
|
|
comm = machine.communicate
|
2016-06-25 01:18:40 +00:00
|
|
|
comm.sudo <<-EOH.gsub(/^ {14}/, '')
|
|
|
|
set -e
|
|
|
|
apt-get -yqq update
|
|
|
|
apt-get -yqq install rsync
|
|
|
|
EOH
|
2014-01-31 03:26:43 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|