Sha256: e70502bf8b744d6b09902b69076ce1b1c31125921e18cc611018da76126c82f0

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

module VagrantPlugins
  module GuestDebian
    module Cap
      class RSync
        def self.rsync_install(machine)
          comm = machine.communicate
          if !comm.test("command -v rsync")
            comm.sudo <<-EOH.gsub(/^ {14}/, '')
              apt-get -yqq update
              apt-get -yqq install rsync
            EOH
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/guests/debian/cap/rsync.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/guests/debian/cap/rsync.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/guests/debian/cap/rsync.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/guests/debian/cap/rsync.rb
vagrant-unbundled-1.8.4.2 plugins/guests/debian/cap/rsync.rb
vagrant-unbundled-1.8.4.1 plugins/guests/debian/cap/rsync.rb