I used both the execute resource or the bash resource. both achieve the same result: bash 'execute my script' do user 'root' cwd '/mydir' code <<-eoh ./myscript.sh eoh end ex.... Creating a reading culture in your school can be a matter of big and small things. you might want to hold a whole school celebration, or embed some ideas on a smaller scale.. What is the best resource for learning bash scripting? it is very useful resource in brining up bash skills in a very short time. bash cookbook (albing,.
To simplify, consider following block in a cookbook (cookbook-test) recipe. 79: bash 'running sudo test sleep command' do 80: run sudo commands in chef resource. A particular file that is located under the files directory can be copied over to one or more remote nodes using cookbook_file resource. of your bash command. Write your first chef recipe create a directory structure selection from learning chef [book] o the file statement code you entered in hello.rb. is a resource..
0 komentar:
Posting Komentar