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


Chronological Thread 
  • From: Micah Wedemeyer < >
  • To:
  • Subject: [chef] Re: Re: directory resource creates user/group?
  • Date: Fri, 29 Oct 2010 18:03:16 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=xnhameg9ssx/NOSv3B5cLFcg92Dtn0fu4/iXU3ZWcKEqIClLcku49S5eYLNRAKEqpJ iz0ELJNWbgB/76eCEh5rqo8fBL5pQVOqjQB23htAfmhpFF8/Fg/LbHD2gtjp5b27+x5C V17o8DslH0t1R9QxNCEZgn2Jv7LwZZFDjnw4I=

Ah, thanks. This really clears it up. Thanks for the links.
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.

§