Use the script resource to execute scripts using a specified interpreter, such as bash, csh, take a closer look at the cookbooks that chef authors and maintains:. I have a .bat script for a deployment task. i it is needed to run with some parameters for the correct work, smthg like this: script.bat -x=param1 -b=param2 -c=param3 ( this is how it looks in cmd.... How do you execute a command in the background with a chef this is the file that employs the "daemon" package to run a script as a chef cookbook execution.
Describes how to have a recipe run a windows powershell script. using recipes to run scripts; using chef you can now install the cookbook and run the. Use a simple recipe to run a script that performs the required customization aws opsworks for chef automate. cookbooks, recipes, and aws opsworks stacks. How to use powershell in chef. use the powershell_script resource to execute a script using the windows powershell interpreter, much like how the script and script-based resources..
0 komentar:
Posting Komentar