[chef] Re: Help using chef community mysql cookbook for idempotent chef-client runs


Chronological Thread 
  • From: Tom Duffield < >
  • To:
  • Subject: [chef] Re: Help using chef community mysql cookbook for idempotent chef-client runs
  • Date: Mon, 28 Oct 2013 09:32:38 -0500

Hey Eric, 
Have you tried checking out the database cookbook? https://github.com/opscode-cookbooks/database

There are LWRPs that should help you do what you are looking to do. 

Tom Duffield — Automation Consulting Engineer

651.769.7497 –  " style="color:rgb(105,117,130)" target="_blank">  – my: Linkedin  Twitter

OPSCODE

CODE CAN

opscode.com   Blog   Facebook   Twitter   YouTube


On Mon, Oct 28, 2013 at 9:26 AM, Eric Feldhusen < " target="_blank"> > wrote:
I'm been working my way through using various chef community cookbooks, but I'm a little stuck on using the mysql cookbook.

I can install the MySQL service fine, but I'm having trouble with creating users and database(s) in a way that's idempotent once the users and databases are there. 

Also, is there a way to import a schema or an existing database dump file that I have copied to the client from the chef server?

Thanks for any suggestions.

Eric Feldhusen




Archive powered by MHonArc 2.6.16.

§