- From: Xabier de Zuazo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Confused about env_run_lists
- Date: Mon, 24 Jun 2013 23:42:00 +0200
- Organization: Onddo Labs, S.L.
On Mon, 24 Jun 2013 23:04:22 +0200
Jeppe Nejsum Madsen
<
>
wrote:
>
> > the doc needs to fixed ?
>
> >
>
> http://docs.opscode.com/essentials_environments.html#set-per-environment-run-lists
>
> >
>
>
>
> This json is a role example. NOT an environment example.
>
> That is, "webserver" is a role.
>
>
>
> You cannot specify env_run_list inside an environment because, of
>
> course, it is an environment.
>
>
>
> env_run_list is only for roles.
>
>
>
>
That makes sense, but the docs clearly needs an overhaul. While the
>
JSON example shows a role if you look closely, what has that got to
>
with environments?
Yes, maybe you are right. A role example in the environments section
can be a bit confusing. Perhaps it would be more appropriate to move
this example to the roles section.
>
Also note the section "Domain-specific Ruby attributes for
>
environments include the following:" and goes on to list env_run_list.
Looks like a mistake in the docs. AFAIK, this attribute should not be
in that section. It will not work. I will try to make a PR to fix it.
--
Xabier de Zuazo Oteiza
IT System Administrator - Onddo Labs S.L.
Camino del Bosque 13
t: (+34) 946.569.935
www.onddo.com
--------------------------------------------------------------------
Public Key =
http://www.onddo.com/xabier_zuazo.pub
Key Fingerprint = 8EFA 5B17 7275 5F1F 42B2 26B4 8E18 8B67 9DE1 9468
--------------------------------------------------------------------
Attachment:
signature.asc
Description: PGP signature
Archive powered by MHonArc 2.6.16.