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

Fixes eybackup_slave recipe db_stack_name #349

Closed victorjtfranco closed 6 years ago

victorjtfranco commented 6 years ago

I appplied this recipe on an environment I manage on Engine Yard, but the env[:db_stack_name] had a value of 'postgres9_4', effectively setting the stack variable to an empty string, resulting in the cronjob not running.

 sudo grep 'db_stack_name' /etc/chef-custom/dna.json 
      "db_stack_name": "postgres9_4",