From 1f129952d9ccc8fd79deec663612b329d60dd844 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Tue, 7 May 2024 11:28:50 +0100 Subject: [PATCH] exclude chef-client from memservice --- resources/recipes/prepare_system.rb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/resources/recipes/prepare_system.rb b/resources/recipes/prepare_system.rb index 1bfa0ab..061486c 100644 --- a/resources/recipes/prepare_system.rb +++ b/resources/recipes/prepare_system.rb @@ -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