pixelcog / opsworks-vm

Virtual machine templates for AWS OpsWorks running on Ubuntu 12.04 and 14.04
MIT License
59 stars 22 forks source link

my.cnf template issue #12

Closed threesquared closed 8 years ago

threesquared commented 8 years ago

Whenever I try to provision a database instance with db-master.json I get the error (undefined methodname' for nil:NilClass) on line #1:` it seems that chef is using the chef mysql cookbook template file which depends on the a config array with the name attr instead of the one provided with opsworks? I don't have the mysql cookbook specified in my Berksfile so why would it be using that erb file?

threesquared commented 8 years ago

For some reason this was caused by adding the composer cookbook to the Berksfile in my custom cookbooks. Removing the line cookbook 'composer', '~> 2.2.1' fixed this issue.

mikegreiling commented 8 years ago

glad you were able to figure out the issue