diff --git a/resources/recipes/prepare_system.rb b/resources/recipes/prepare_system.rb index 7619da6a..ac154bad 100644 --- a/resources/recipes/prepare_system.rb +++ b/resources/recipes/prepare_system.rb @@ -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