[chef] math expression in attributes/default.rb


Chronological Thread 
  • From: Vasiliy G Tolstov < >
  • To:
  • Subject: [chef] math expression in attributes/default.rb
  • Date: Tue, 06 Jul 2010 11:47:57 +0400
  • Organization: Selfip.Ru

Does chef supports math expressions in attributes/default.rb ?
I need to set up set_unless[:apache][:prefork][:startservers] depending
on the total memory and some factors..

Does anybody known formula for other apache settings
like this:

set_unless[:apache][:prefork][:startservers]
set_unless[:apache][:prefork][:minspareservers] 
set_unless[:apache][:prefork][:maxspareservers]
set_unless[:apache][:prefork][:serverlimit]
set_unless[:apache][:prefork][:maxclients] 
set_unless[:apache][:prefork][:maxrequestsperchild]

?

Thanks.

-- 
Vasiliy G Tolstov 
< >
Selfip.Ru




Archive powered by MHonArc 2.6.16.

§