Sha256: e7f55657d75ee34f85cdfc93640c32fc5a896b1c08cebc7967973259003d3ed9

Contents?: true

Size: 453 Bytes

Versions: 4

Compression:

Stored size: 453 Bytes

Contents

require_relative "../../omnibus"

module VagrantPlugins
  module Chef
    module Cap
      module Redhat
        module ChefInstall
          def self.chef_install(machine, version, prerelease, download_path)
            machine.communicate.sudo("yum install -y -q curl")

            command = Omnibus.build_command(version, prerelease, download_path)
            machine.communicate.sudo(command)
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/provisioners/chef/cap/redhat/chef_install.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/provisioners/chef/cap/redhat/chef_install.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/provisioners/chef/cap/redhat/chef_install.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/provisioners/chef/cap/redhat/chef_install.rb