notes/devops/provis/chef/chef-unsorted.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

19 строки
361 B
Plaintext

include_recipe "ohai_plugins_test::vhosts"
include_recipe 'magento'
node.override['abc']['def'] = 'val'
remote_file ::File.join(Chef::Config[:file_cache_path] ,"magento.tar.gz") do
...
end
case node['platform_family']
when 'rhel', 'fedora'
...
execute 'add_service' do
command 'ccs -h localhost -p rack --addservice script-svc'
ignore_failure true
end