Sha256: d96a3cf644bc734aa4c9f77111c95b49a6a106c64a68a346235618c9d25322a0

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-unbundled-1.8.1.2 plugins/guests/redhat/cap/rsync.rb
vagrant-unbundled-1.8.1.1 plugins/guests/redhat/cap/rsync.rb