engineyard / ey-cloud-recipes

A starter repo for custom chef recipes on EY's cloud platform. These are for reference, and do not indicate a supported status.
http://www.engineyard.com/products/cloud
Other
980 stars 291 forks source link

DJ: Add default worker count for new instance types. #322

Closed mikong closed 7 years ago

mikong commented 7 years ago

Description of your patch

Fixes #230. This change adds default values for worker count for additional, newer instance types.

How to Test

Use delayed_job4 custom chef recipe. Make sure is_dj_instance attribute uses default value that also sets up DJ in utility instances named "delayed_job". Try adding utility instances named "delayed_job" with various instance types (t2, r3, r4) and compare to the default values in delayed_job4/attributes/default.rb.