- From: Grig Gheorghiu <
>
- To:
- Subject: [chef] Re: Adding a recipe to an existing role in chef-server
- Date: Wed, 26 Jan 2011 15:13:49 -0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mNTQhSrEPA1eb/7k57s7K6eFWhYcU5N5IsHFqp0ur+L2y+Z8PHVLycST7frO/ZMfvU IlcGG2QHqrfxctOmgrznj8dQTNxJmeLHtYBvuKGO3CNjlLB2m8/5bz0In5CHrejr5NEB +q33/qgQAGey2q4e42Mw9c//fGLiWH/Vt+R58=
On Wed, Jan 26, 2011 at 3:07 PM,
<
>
wrote:
>
My chef client node has an "app" role in it's run_list, that has already
>
run on
>
my node. Let's say it that the app role has two recipes in it's run_list:
>
"nginx" and "varnish". I update my my app role on my chef server, so that it
>
now has three recipes: "nginx", "varnish", and "git". When I run `sudo
>
chef-client` on my node, it doesn't pick up on the fact that the app role
>
has
>
changed, and run the new "git" recipe...has anyone else has this problem? Is
>
this by design or am I doing something wrong?
>
You need to also update the role via knife on the chef server:
$ knife role from file roles/myrole.rb
$ knife role show myrole
Grig
Archive powered by MHonArc 2.6.16.