Sha256: c439709f5db7d461d64821bfbb86b2b56561945707fc1900d98cbf00d1121397

Contents?: true

Size: 591 Bytes

Versions: 17

Compression:

Stored size: 591 Bytes

Contents

require_relative "../../omnibus"

module VagrantPlugins
  module Chef
    module Cap
      module OmniOS
        module ChefInstall
          def self.chef_install(machine, project, version, channel, options = {})
            su = machine.config.solaris.suexec_cmd

            machine.communicate.execute("#{su} pkg list --no-refresh web/curl > /dev/null 2>&1 || pkg install -q --accept web/curl")

            command = Omnibus.sh_command(project, version, channel, options)
            machine.communicate.execute("#{su} #{command}")
          end
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
vagrant-unbundled-1.9.7.1 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-aws-mkubenka-0.7.2.pre.14 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-aws-mkubenka-0.7.2.pre.11 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-aws-mkubenka-0.7.2.pre.10 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-aws-mkubenka-0.7.2.pre.9 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.9.5.1 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.9.1.1 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.8.5.2 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.8.5.1 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.8.4.2 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.8.4.1 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.8.1.2 plugins/provisioners/chef/cap/omnios/chef_install.rb
vagrant-unbundled-1.8.1.1 plugins/provisioners/chef/cap/omnios/chef_install.rb