Sha256: ace309385b903a05ff79debf183e7f990ea01b776a8c15edc1eb1f714a6f1ddd

Contents?: true

Size: 520 Bytes

Versions: 4

Compression:

Stored size: 520 Bytes

Contents

require_relative "../../omnibus"

module VagrantPlugins
  module Chef
    module Cap
      module Debian
        module ChefInstall
          def self.chef_install(machine, version, prerelease, download_path)
            machine.communicate.sudo("apt-get update -y -qq")
            machine.communicate.sudo("apt-get install -y -qq 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/debian/chef_install.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/provisioners/chef/cap/debian/chef_install.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/provisioners/chef/cap/debian/chef_install.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/provisioners/chef/cap/debian/chef_install.rb