Closed craigtracey closed 10 years ago
@juliandunn do you perhaps have thoughts on this?
@craigtracey I am personally :thumbsdown: on this but mostly because I don't like interacting with MySQL (Windows or Linux) using the Ruby gems, and I think it's something we should actually remove from the database cookbook. Doing so requires:
So I would personally prefer to leave this as is, knowing that we should really refactor the mysql_* LWRPs to interact with the "mysql" client binary directly, similar to what @realityforge has done in his psql cookbook.
+1 for this change.
The fact that this recipe has embedded SQL only adds to the complication as shown in https://github.com/opscode-cookbooks/wordpress/pull/20.
merged in d068534a85583b0e0e8cb8e5c6c55c927e86d7c1
Previously, the recipe for adding databases and privileged database users was reimplementing what is available in the database cookbook. Therefore, simply add the database cookbook as a dependency and create the users/databases in a more standard and idempotent fashion.