37signals::users 0.7 -> 0.8

Hello,

In my chef 0.7 production setup I have a working role wherein I use
the 37signals users recipe:
http://github.com/37signals/37s_cookbooks/blob/cf51a5bbc5bdcfc489eb4295f8d610fd435d99ec/users/recipes/default.rb

I have a 0.8.10 test setup wherein I also upgraded the users recipe to
the 0.8 version:
http://github.com/37signals/37s_cookbooks/blob/aac45affbcab45f48ba3d4667be3c68fb5b4be03/users/recipes/default.rb

The updated recipe uses the search functionality, but on my system, it
leads to this:

DEBUG: Sending HTTP Request via GET to
host.domain:4000/search/groups?q=:&sort=&start=0&rows=20
DEBUG: HTTP Request Returned 404 Not Found: I don’t know how to search
for groups data objects.

More output here: http://gist.github.com/366996

As this is the first run, no groups are available yet, nor have they
been indexed. I’m a bit puzzled now on how to workaround this. A
helping hand would be much appreciated.

Greetings,

Ringo

Ohai,
It looks like you don't have a 'groups' data bag? You might also have
to look through the recipe to figure out what the structure of the
data bag items is assumed to be.

HTH,
Dan DeLeo

On Thu, Apr 15, 2010 at 6:42 AM, Ringo De Smet ringo.desmet@gmail.com wrote:

Hello,

In my chef 0.7 production setup I have a working role wherein I use
the 37signals users recipe:
http://github.com/37signals/37s_cookbooks/blob/cf51a5bbc5bdcfc489eb4295f8d610fd435d99ec/users/recipes/default.rb

I have a 0.8.10 test setup wherein I also upgraded the users recipe to
the 0.8 version:
http://github.com/37signals/37s_cookbooks/blob/aac45affbcab45f48ba3d4667be3c68fb5b4be03/users/recipes/default.rb

The updated recipe uses the search functionality, but on my system, it
leads to this:

DEBUG: Sending HTTP Request via GET to
host.domain:4000/search/groups?q=:&sort=&start=0&rows=20
DEBUG: HTTP Request Returned 404 Not Found: I don't know how to search
for groups data objects.

More output here: search failure · GitHub

As this is the first run, no groups are available yet, nor have they
been indexed. I'm a bit puzzled now on how to workaround this. A
helping hand would be much appreciated.

Greetings,

Ringo

Daniel,

On 15 April 2010 17:46, Daniel DeLeo dan@kallistec.com wrote:

Ohai,
It looks like you don't have a 'groups' data bag? You might also have
to look through the recipe to figure out what the structure of the
data bag items is assumed to be.

Ouch! I'm a bit ashamed I have overlooked the nifty feature of 0.8... :slight_smile:
Tnx for pointing me to it!

Ringo

Although, the flexibility of the databag is nice. It might also be nice to
have a way to define the databag structure outside of the recipes. Maybe an
extension to the metadata?

-Cary P

On Thu, Apr 15, 2010 at 8:46 AM, Daniel DeLeo dan@kallistec.com wrote:

Ohai,
It looks like you don't have a 'groups' data bag? You might also have
to look through the recipe to figure out what the structure of the
data bag items is assumed to be.

HTH,
Dan DeLeo

On Thu, Apr 15, 2010 at 6:42 AM, Ringo De Smet ringo.desmet@gmail.com
wrote:

Hello,

In my chef 0.7 production setup I have a working role wherein I use
the 37signals users recipe:

http://github.com/37signals/37s_cookbooks/blob/cf51a5bbc5bdcfc489eb4295f8d610fd435d99ec/users/recipes/default.rb

I have a 0.8.10 test setup wherein I also upgraded the users recipe to
the 0.8 version:

http://github.com/37signals/37s_cookbooks/blob/aac45affbcab45f48ba3d4667be3c68fb5b4be03/users/recipes/default.rb

The updated recipe uses the search functionality, but on my system, it
leads to this:

DEBUG: Sending HTTP Request via GET to
host.domain:4000/search/groups?q=:&sort=&start=0&rows=20
DEBUG: HTTP Request Returned 404 Not Found: I don't know how to search
for groups data objects.

More output here: search failure · GitHub

As this is the first run, no groups are available yet, nor have they
been indexed. I'm a bit puzzled now on how to workaround this. A
helping hand would be much appreciated.

Greetings,

Ringo