[chef] Re: Re: Re: Re: Using libraries in attributes file to fetch values from a service.


Chronological Thread 
  • From: Daniel Condomitti < >
  • To:
  • Cc: " " < >
  • Subject: [chef] Re: Re: Re: Re: Using libraries in attributes file to fetch values from a service.
  • Date: Fri, 22 Aug 2014 10:30:28 -0400

Yeah I’ll try to put one together. Now that I think about it we’re on 11.6.0 but I started using that workaround/haven’t tested since 10.16.


On Friday, August 22, 2014 at 10:27 AM, Daniel DeLeo wrote:



On Friday, August 22, 2014 at 7:14 AM, Daniel Condomitti wrote:

Is anyone aware of a way to load libraries from another cookbook without requiring a recipe from it? A depends statement isn't enough in metadata.rb to make them available in my experience. I usually just dump an empty recipe in the cookbook containing the library I want to use. Is this expected / designed behavior or should I fix it?
Dan
`depends` ought to do it. If it didn’t then you couldn’t `include_recipe` from another cookbook and all sorts of things wouldn’t be working. Can you come up with a reproduction case that demonstrates the behavior you’re seeing?

--
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§