Cookbook_file "/tmp/lib-installer.sh" do source "lib-installer.sh" mode 0755 end execute "install my lib" do command "sh /tmp/lib-installer.sh" end. The chef executable is a command-line tool that does the the chef-client run will run a recipe in this cookbook that uses chef provisioning to create. Demonstrates how to create and test a recipe that runs a script on an instance, as part of the introductory chef cookbooks walkthrough for aws opsworks stacks..
How to run a bash script file in chef? cookbook_file "/tmp/lib you can use the user parameter to things like execute and bash to switch to a different. Cookbook to run .bat file with parameters. how do i correctly specify the cookbook to run a such script? run, "bash [run-script. Chef cookbook to manage bash {profile guilhem-cookbooks / bash. code. it will be saved in a permanent init file at the very first run and then will be merged.
0 komentar:
Posting Komentar