Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

rsync install #29

Open
SwagDevOps opened this issue Apr 15, 2018 · 0 comments
Open

rsync install #29

SwagDevOps opened this issue Apr 15, 2018 · 0 comments

Comments

@SwagDevOps
Copy link

rsync can not install without an apk update or apk SHOULD use --no-cache.

I propose the following changes:

module VagrantPlugins
  module GuestAlpine
    module Cap
      class RSync
        def self.rsync_installed(machine)
          machine.communicate.test('which rsync')
        end

        def self.rsync_install(machine)
          machine.communicate.tap do |comm|
            comm.sudo('apk --no-cache add rsync')
          end
        end
      end
    end
  end
end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant