Use the bash resource to execute scripts using the bash interpreter. take a closer look at the cookbooks that chef authors and maintains: https:. Send the output of the command run by this execute resource block to the chef-client event take a closer look at the cookbooks that chef authors and maintains:. Creating your first chef cookbook; creating your first chef cookbook. add the following execute command above the template resource code to create the a2ensite.
How to run a chef cookbook? based on this documentation i tried to run the cookbook using chef-client no config file found or specified on command. Cookbook repositories; chef versions. click run command. for command, select execute recipes. the aws opsworks stacks agent receives a command to run the. 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.
0 komentar:
Posting Komentar