[chef] Re: Chef Design Patterns: environments


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To:
  • Subject: [chef] Re: Chef Design Patterns: environments
  • Date: Tue, 26 Nov 2013 10:32:13 -0500

I wouldn't do that... put your attributes in the environment and drive
the cookbook's behavior that way.

In the past I have used feature flags in environments to toggle the
code path used by recipe code.

- Julian

On Tue, Nov 26, 2013 at 10:15 AM, Guy Matz 
< >
 wrote:
> Hi!  Anyone have a design pattern for making cookbook environmentally aware?
> I'm mostly concerned about data/attributes . . .
>
> Thanks a lot!
>
> Guy



-- 
[ Julian C. Dunn 
< >
          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ;]
gopher://sdf.org/1/users/keymaker/           * compliant!    ;]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]



Archive powered by MHonArc 2.6.16.

§