chef-boneyard / delivery-truck

DEPRECATED: Delivery build cb for pipelines
Apache License 2.0
36 stars 52 forks source link

Add search for recipe to allow deployment on new nodes with new runlists #30

Open marcusn opened 7 years ago

marcusn commented 7 years ago

The deploy recipe now searches for recipes:mycookbook for all changes to mycookbook. If we also added the search term recipe:mycookbook, it would work to set the runlist of the node and then run the pipeline. Now I have to manually trigger chef-client once on nodes where run_list has changed.

Particularly this works well with using chef_node cheffish resource to set run_list of existing nodes in provision.rb, and then deploy.rb will deploy them.