chef - How are people testing opsworks cookbooks? -
i have complex deployment of dynamically configured instances of rail apps on nginx using passenger use capistrano for. trying automate entire process on opsworks creating stack, layers, instances , dynamic app deployment. none of existing opsworks recipes come close need started own custom cookbooks. trying test them using test-kitchen , vagrant opsworks cookbooks have many custom dependancies used locally. seems stuck either re-inventing wheel using own recipes don't depend on opsworks cookbooks or trying test cookbooks on aws slow , expensive.
is doing custom cookbook development on opsworks , if how testing it? using community cookbooks , if how painful have been working on opsworks?
opsworks supports chef 11.10 , berkshelf (http://berkshelf.com/) manage dependencies makes using custom cookbooks so. much. easier.
i've been pretty happy test kitchen (https://github.com/test-kitchen/test-kitchen) vagrant & chef solo local testing.
additionally can manually run particular recipes on opsworks stack stack settings page. have here: http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-manual.html.
you can run cookbook tests during opsworks deployment custom json: http://docs.aws.amazon.com/opsworks/latest/userguide/troubleshoot-debug-test.html
Comments
Post a Comment