Reputation: 71
When I create my cookbooks using the knife command I would like them to get saved into a specified directory. I know I can use the -o flag and specify the directory. However, I would like to make a specified directory a default directory. Is there a setting that I can change to accomplish that? THank you.
Upvotes: 0
Views: 268
Reputation: 2372
You can specify default directory under knife.rb file by inserting the following code
cookbook_path [
'/your/cookbook/default_directory'
]
Upvotes: 1
Reputation: 71
Found the answer. The cookbook_path parameter in knife.rb can be used to specify the default cookbook directory.
Upvotes: 0