Skip to content

Commit

Permalink
exclude chef-client from memservice
Browse files Browse the repository at this point in the history
  • Loading branch information
ljblancoredborder committed May 7, 2024
1 parent 36fc4dd commit 1f12995
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions resources/recipes/prepare_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,4 @@
#getting total system memory less 10% reserved by system
sysmem_total = (node["memory"]["total"].to_i * 0.90).to_i
#node attributes related with memory are changed inside the function to have simplicity using recursivity
memory_services(sysmem_total)









memory_services(sysmem_total, ['chef-client']) # Don't assign memory to chef because the service will get handled

0 comments on commit 1f12995

Please sign in to comment.