Pages

Rabu, 20 Juni 2018

Chef Cookbook Copy Directory






I have a directory structure (sample data) that i want to copy from within a chef recipe. it seems the only way to do this is to explicitly create each individual directory and file: directory "/mnt/. When you create a new chef cookbook, it will automatically create certain directories and files. you’ll then be adding your own custom files on top these. Creating your first chef cookbook. default from your cookbook’s main directory. cd ~/chef-repo/cookbooks/lamp-stack chef-client, and copy the file.





Chef introduction


Chef introduction




Asheville, NC | City Guide to Asheville, North Carolina


Asheville, nc | city guide to asheville, north carolina






Chef Recipes to Configure the Desired State of a System


Chef recipes to configure the desired state of a system


In this article, we will discuss the basics of creating a chef cookbook. cookbooks are the configuration units that allow us to configure and perform specific tasks within chef on our remote nodes.. A good chef cookbook enforces file/directory a workaround is to keep the syslog-ng main configuration file empty and change syslog-ng control scripts to copy. Copy a directory from remote resource using chef. i also checked chef's remote_directory resource, but that can be used only if the directory is in the cookbook.





Related Posts by Categories

0 komentar:

Posting Komentar