chef-workstation

Install a particular Ruby version using chef-run

允我心安 提交于 2019-12-11 19:06:40
问题 I have been trying to install a particular (latest) version of Ruby using Chef Workstation and its included chef-run CLI. This is the recipe I'm using for Ruby: package 'ruby' do version '2.5.3' action :install end Which, running with the command line chef-run -i /path-to/private_key user@host ruby.rb Produces the not very helpful message: [✔] Packaging cookbook... done! [✔] Generating local policyfile... exporting... done! [✖] Applying ruby from ruby.rb to target. └── [✖] [127.0.0.1] Failed