[chef] Re: Postgres user/database/permission LWRPs


Chronological Thread 
  • From: Jay Pipes < >
  • To:
  • Subject: [chef] Re: Postgres user/database/permission LWRPs
  • Date: Thu, 06 Dec 2012 09:31:59 -0500

On 12/06/2012 12:38 AM, Peter Donald wrote:
> Hi,
> 
> I had a look at the database cookbook for the first time today and found
> it was not an approach I felt comfortable with. 
> 
> All I wanted to do was create a user, a database and grant some
> permissions for user on database. And I was only really concerned with
> postgres. However the cookbook had several mandatory dependencies and
> seemingly tried to add an abstraction across multiple databases and
> forced a whole bunch of activity during the compile phase rather than in
> the converge phase. So I basically rewrote them using the CLI tool
> rather than relying on a library. 

<snip>

The whole point of the database cookbook (AFAICT) is exactly to provide
an abstraction layer to help configure multiple database systems. If you
don't want the abstraction, there's little use, IMHO, in using the
database cookbook at all -- just use the underlying postgresql cookbook
instead.

http://community.opscode.com/cookbooks/postgresql

Best,
-jay



Archive powered by MHonArc 2.6.16.

§