opscode-cookbooks/database — pull request #11 by Axsuul (2012-09-15 22:00:59+00:00)
Title: Add role attributes to PostgreSQL user resource

This adds functionality to allow role attributes to be set for a PostgreSQL user. Usage would be

```ruby
postgresql_database_user "joe" do
connection postgres_connection
password "bunnies"
role_attributes :superuser => true, :createdb => true
action :create
end
```

Let me know if anything needs to be cleaned up. I found this to be extremely useful so I hope it gets merged in!