Skip to content

Commit

Permalink
excluding chef-client not to be a memservice
Browse files Browse the repository at this point in the history
  • Loading branch information
ljblancoredborder committed May 7, 2024
1 parent 927577e commit 9002a97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/recipes/prepare_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@
#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

#License

Expand Down

0 comments on commit 9002a97

Please sign in to comment.