[chef] Re: Limits Cookbook / limits.conf and limits.d configuration files


Chronological Thread 
  • From: Fabien Delpierre < >
  • To: chef < >
  • Subject: [chef] Re: Limits Cookbook / limits.conf and limits.d configuration files
  • Date: Wed, 22 Jul 2015 11:37:45 -0400

I'm not familiar with this cookbook and can't look at its inner workings in detail right now, but I see that it has no recipes/ folder, which tells me it just provides resources. It sounds like you added it to your node's run list, but the error you're getting makes sense since the cookbook has no recipes. All you should need to do is add a line like the below to the metadata.rb in your cookbook:
depends 'limits'
Then you will be able to use the things provided by the cookbook.

On Wed, Jul 22, 2015 at 11:24 AM, Mohammad Fattahian < " target="_blank"> > wrote:

Hi,

 

Can anybody help me to configure the ‘limits’ cookbook? Installed from https://github.com/jrwesolo/limits.git

 

I added the cookbook to my Chef Server but when I run chef-client on the node I get this error:

----------------------------------------------------------------------------------------------------------------------------------

Recipe Compile Error

================================================================================

 

 

Chef::Exceptions::RecipeNotFound

--------------------------------

could not find recipe default for cookbook limits

----------------------------------------------------------------------------------------------------------------------------------

 

Any idea how to control system limits.conf as well as limits.d configuration files?

 

Regards,

 

Mohammad

 





Archive powered by MHonArc 2.6.16.

§