[chef-dev] Re: paths as native attributes in chef or ohai?


Chronological Thread 
  • From: Dimitri Aivaliotis < >
  • To: Blake Irvin < >
  • Cc: " " < >, Bryan McLellan < >, Christopher Horrell < >
  • Subject: [chef-dev] Re: paths as native attributes in chef or ohai?
  • Date: Thu, 12 Sep 2013 23:47:10 +0200

On Thu, Sep 12, 2013 at 8:59 PM, Blake Irvin 
< >
 wrote:
> Is this something that we want in ohai/chef rather than a cookbook?  Do we
> want to encourage the community at large to use attribute-driven pathing?
> (I think we do).

Yes, in both cases!  I wholeheartedly agree.

Being able to query the node for path attributes as opposed to having
case statements in each cookbook will be a huge step forward towards
portable cookbooks.  Not everything will be covered, of course, (there
are still platform-specific differences to ntp, for example, that
would still need to be covered in the ntp cookbook) but integrating
path determination in Ohai would really help make the vast majority of
cookbooks more portable.

- Dimitri



Archive powered by MHonArc 2.6.16.

§