When a Chef based server is booted, we will download the entire run list of recipes to the server upon boot when it converges. Subsequently, we will also continue to download every single recipe to the server whenever Chef converges again, which would occur if you run an Operational recipe or any recipe after boot as well.
This can get frustrating, and some may wish to only download those recipes a single time. This article shows you how to tag a server so that it will only download those recipes once.
To stop recipes from downloading multiple times on each Chef converge, you will want to add the following tag to the Server component in the Rightscale dashboard (i.e. https://my.rightscale.com/acct/<accountID>/servers/123456) -
Note: You must add the tag before a server is launched. If you want to enable this functionality on a running server, you will need to add the tag to the "Next" server and relaunch it. The tag will not take effect if you add it to a running instance.
When this tag is set to 'True' we will only download the cookbooks a single time.
To reverse it, simply remove the tag or set it to a value of 'False,' then run a recipe again.
If you have any questions, comments or feedback please let us know at (866) 787-2253 or email@example.com. You can also open a support incident anytime by using the 'Support -> Email' link in the top-right corner of the dashboard.
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.