ruby_block资源奇怪的行为,我有一个配方的末尾有两个红宝石块: ruby_block 'set permissions for app dir' do
block do
require 'fileutils'
FileUtils.chown_R 'user01', 'user01', '/mnt/app/'
end
action :ru
我使用MySQL的厨师食谱在 https://supermarket.chef.io/cookbooks/mysql 下发现了一个无业游民运行Ubuntu-16.04 我的食谱包含块: mysql_service 'foo' do
port '3306'
version '5.7'
initial_root_password 'hello'
action [
我写在厨师的食谱中,我已经使用脚本资源使用bash解释器来执行sed命令正常工作: script 'find the lastest version of the major release available' do
interpreter "bash"
code <<-EOH
SUBMGR_REPO=$(ls -1d /net/gutstools.am.li