Sha256: 0577634d3e7b427db956759f9bcd7f2dceb8f3b2a342ba2e6ae863117417b3f0
Contents?: true
Size: 617 Bytes
Versions: 41
Compression:
Stored size: 617 Bytes
Contents
require_relative "../../omnibus" module VagrantPlugins module Chef module Cap module OmniOS module ChefInstall def self.chef_install(machine, project, version, channel, omnibus_url, 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, omnibus_url, options) machine.communicate.execute("#{su} #{command}") end end end end end end
Version data entries
41 entries across 37 versions & 5 rubygems