Sha256: 0611815ac78c70fae582e027495e5914d91d90e64e310ca8d9bc6b3184ee14ff
Contents?: true
Size: 729 Bytes
Versions: 41
Compression:
Stored size: 729 Bytes
Contents
require_relative "../../omnibus" module VagrantPlugins module Chef module Cap module Suse module ChefInstall def self.chef_install(machine, project, version, channel, omnibus_url, options = {}) unless curl?(machine) machine.communicate.sudo("zypper -n -q update") machine.communicate.sudo("zypper -n -q install curl") end command = Omnibus.sh_command(project, version, channel, omnibus_url, options) machine.communicate.sudo(command) end protected def self.curl?(machine) machine.communicate.test("/usr/bin/which -s curl") end end end end end end
Version data entries
41 entries across 37 versions & 5 rubygems