[chef] Re: Re: Re: Re: param[:name] bizarreness when nesting defines


Chronological Thread 
  • From: Joshua Timberman < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: param[:name] bizarreness when nesting defines
  • Date: Wed, 19 Jan 2011 16:47:05 -0700

On Wed, Jan 19, 2011 at 4:34 PM, Brian Akins 
< >
 wrote:
>
> Use an lwr/p
>
>
> I hear this allot now.  Are there any good examples of LWRP's using
> templates, services, etc?  There seems to be a gap between the limitations
> of a define and the "must do everything by hand" nature of an LWRP.

Example of a LWRP that uses Chef resources directly:

https://github.com/opscode/cookbooks/blob/master/daemontools/providers/service.rb

See the enable action.


-- 
Opscode, Inc
Joshua Timberman, Technical Evangelist
IRC, Skype, Twitter, Github: jtimberman



Archive powered by MHonArc 2.6.16.

§