From 64690cd30f204b5088f8f84492ea47e5085808da Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Tue, 7 May 2024 12:44:51 +0100 Subject: [PATCH] normalization --- resources/attributes/default.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/attributes/default.rb b/resources/attributes/default.rb index d2c5fe1..829b403 100644 --- a/resources/attributes/default.rb +++ b/resources/attributes/default.rb @@ -1,4 +1,4 @@ -require 'set' +# require 'set' TODO: refactor to this #Default attributes #general @@ -43,7 +43,8 @@ default["redborder"]["memory_services"]["n2klocd"] = {"count" => 10, "memory" => 0 } default["redborder"]["memory_services"]["k2http"] = {"count" => 10, "memory" => 0 } # excluded mem services -default['redborder']['excluded_memservices'] = Set.new(['chef-client']) # Don't assign memory to chef because the service will get handled +# default['redborder']['excluded_memservices'] = Set.new(['chef-client']) TODO: refactor to this +default['redborder']['excluded_memservices'] = ['chef-client'] # Don't assign memory to chef because the service will get handled default["redborder"]["services"] = {} default["redborder"]["services"]["chef-client"] = true