- From: Farzad FARID <
>
- To:
- Subject: [chef] Re: Trying to understand user/group resources
- Date: Wed, 28 Apr 2010 10:12:02 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pragmatic-source.com; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; q=dns; s= postfix; b=QqWcJn5SNbTP6CzLLDaqGQSTSJayTlVYukcavJp7LX9iLnbf4/ukE Lp9uuSkTh8ZlmktcxT2NyvGmAnvgtyHr9VGaETMl5BQb3efHkj0LKILfr2CEcBgh AsH7LB6uh5y0c6m2vT/RdM4hlBv694CGS77rEbYPgGJEpFJ3KRcJPo=
- Organization: Pragmatic Source
Hi,
Le 28/04/2010 00:10,
a écrit :
I've been doing some experimentation with the user/group resources and I'm
confused by some of the behavior. Here is a snippet that I fed to chef-solo:
[...]
I also noticed on the http://wiki.opscode.com/display/chef/Resources page the
group[gid] isn't quoted while the similarly numeric user[uid] is quoted. When
I
placed quotes on the group[gid] I got the following error:
/usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/mixin/params_validate.rb:140:in
`_pv_kind_of': Option gid must be a kind of Integer! You passed "1000".
(Chef::Exceptions::ValidationFailed)
I can't tell for the first question but as I said on irc I submitted a
patch to correct this String/Integer discrepancy:
http://tickets.opscode.com/browse/CHEF-1156
I haven't tried it yet, maybe you can apply the patch manually to see if
it works fine.
Regards
--
Farzad FARID / Architecte Open Source
Pragmatic Source /
http://www.pragmatic-source.com
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46
Archive powered by MHonArc 2.6.16.