sous_chef:具有类似厨师语法的 bash 脚本

时间:2021-06-26 15:39:28
【文件属性】:
文件名称:sous_chef:具有类似厨师语法的 bash 脚本
文件大小:17KB
文件格式:ZIP
更新时间:2021-06-26 15:39:28
Ruby 主厨 这颗宝石现在未使用,并且可能不会得到维护。 如果您想尝试复兴,请提交问题。 感谢您的关注。 发动机场团队 说明 使用类似厨师的语法创建 bash 脚本 实施例 鉴于此代码: config = { :dir => '/home' } SousChef . prep ( :verbose , :shebang ) do halt_on_failed_command log do stdout "/root/stdout.log" stderr "/root/stderr.log" end file "/etc/config.yml" do content config . to_yaml mode 0600 end execute 'rvm' do creates "/usr/local/rvm/scripts
【文件预览】:
sous_chef-master
----lib()
--------sous_chef()
--------sous_chef.rb(176B)
----Gemfile(94B)
----VERSION.yml(44B)
----README.rdoc(2KB)
----spec()
--------sous_spec.rb(6KB)
--------resource()
--------fixtures()
--------spec.opts(25B)
--------spec_helper.rb(305B)
--------recipe_spec.rb(1KB)
----Rakefile(196B)
----LICENSE(1KB)
----.gitignore(187B)
----sous_chef.gemspec(867B)

网友评论