On Sun, Jun 28, 2009 at 10:28 AM, Joshua Sierlesjoshua@37signals.com wrote:
On Jun 28, 2009, at 4:18 AM, Joe Van Dyk wrote:
I created a ‘postgresql’ role and added my node to it via the web ui.
I added the ‘postgresql’ role to this file:
However, I’m getting a “add role to this node” exception raised from
line 1 on this file:
Is that recipe out of date? I’m running 0.7.4.
All of these recipes are out of date and don’t reflect our changes for the
0.7 roles feature. We’ll be updating them next week with our whole new
roles-based setup. Meanwhile you can simply remove the ‘raise’ from the top
of the second file you referenced.
Awesome, glad to hear it. The sooner you can push out those recipes,
the better. (or would you be willing to send me the updated ssh_key
and user cookbooks via email?)
When I comment out that line, then later on, on this line:
role[:groups].each do |group_name|
role is nil, and it kabooms.