[chef] Re: directory resource creates user/group?


Chronological Thread 
  • From: Bryan McLellan < >
  • To:
  • Subject: [chef] Re: directory resource creates user/group?
  • Date: Fri, 29 Oct 2010 14:09:13 -0700

On Fri, Oct 29, 2010 at 1:54 PM, Micah Wedemeyer
< >
 wrote:
> I'm looking through a cookbook (the Engineyard Redis cookbook
> here: http://github.com/engineyard/ey-cloud-recipes/tree/master/cookbooks/redis ),
> and I notice that it creates a directory for redis data with the uid/gid of
> 'redis'. But, I don't see the redis user created anywhere else.

The user is created by the packager. In this particular example, this
cookbook runs on Gentoo. This is evidenced by their enable_package
definition used this this recipe. You can find it [1] in their emerge
cookbook. Portage creates the user on installation of the dev-db/redis
[2] package.

btm

[1] 
http://github.com/engineyard/ey-cloud-recipes/blob/master/cookbooks/emerge/definitions/enable_package.rb
[2] http://gentoo-portage.com/dev-db/redis/ChangeLog



Archive powered by MHonArc 2.6.16.

§