Sha256: d6069cb8e215f25014d8bf3412e7bb6fff82817167b41e85283237a7e91f060c

Contents?: true

Size: 369 Bytes

Versions: 8

Compression:

Stored size: 369 Bytes

Contents

module VagrantPlugins
  module GuestAlpine
    module Cap
      class RSync
        def self.rsync_installed(machine)
          machine.communicate.test('test -f /usr/bin/rsync')
        end

        def self.rsync_install(machine)
          machine.communicate.tap do |comm|
            comm.sudo('apk add rsync')
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
vagrant-unbundled-2.2.6.2 plugins/guests/alpine/cap/rsync.rb
vagrant-unbundled-2.2.6.1 plugins/guests/alpine/cap/rsync.rb
vagrant-unbundled-2.2.6.0 plugins/guests/alpine/cap/rsync.rb
vagrant-alpine-0.4.0 lib/vagrant-alpine/cap/rsync.rb
vagrant-alpine-0.3.0 lib/vagrant-alpine/cap/rsync.rb
vagrant-alpine-0.2.0 lib/vagrant-alpine/cap/rsync.rb
vagrant-alpine-0.1.3 lib/vagrant-alpine/cap/rsync.rb
vagrant-alpine-0.1.1 lib/vagrant-alpine/cap/rsync.rb