Sha256: 7bd1d9b00defaf6636b746a19af0b34ea2656351aa1d94bb61edeebd4740e9b4
Contents?: true
Size: 617 Bytes
Versions: 15
Compression:
Stored size: 617 Bytes
Contents
require_relative "../../omnibus" module VagrantPlugins module Chef module Cap module Redhat module ChefInstall def self.chef_install(machine, project, version, channel, options = {}) machine.communicate.sudo <<-EOH.gsub(/^ {14}/, '') if command -v dnf; then dnf -y install curl else yum -y install curl fi EOH command = Omnibus.sh_command(project, version, channel, options) machine.communicate.sudo(command) end end end end end end
Version data entries
15 entries across 15 versions & 3 rubygems