From 8829df178d6d9f4df090687375cbf593ddff78ca Mon Sep 17 00:00:00 2001 From: Miguel Negron Date: Fri, 13 Oct 2023 23:03:35 +0100 Subject: [PATCH] Remove rabbitmq references --- resources/recipes/configure.rb | 2 -- resources/recipes/configure_cron_tasks.rb | 17 ----------------- 2 files changed, 19 deletions(-) diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index 8e257ac4..299c8534 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -25,8 +25,6 @@ if manager_services["chef-server"] chef_server_config "Configure chef services" do memory node["redborder"]["memory_services"]["chef-server"]["memory"] - rabbitmq true #TODO: instead of true pass -> manager_services["rabbitmq"] ? - #TODO: rabbitmq_memory node["redborder"]["memory_services"]["rabbitmq"]["memory"] postgresql false postgresql_memory node["redborder"]["memory_services"]["postgresql"]["memory"] chef_active manager_services["chef-server"] diff --git a/resources/recipes/configure_cron_tasks.rb b/resources/recipes/configure_cron_tasks.rb index 0a173681..fd6edc10 100644 --- a/resources/recipes/configure_cron_tasks.rb +++ b/resources/recipes/configure_cron_tasks.rb @@ -58,23 +58,6 @@ end end -#--------------------------Rabbitmq-------------------------# -if manager_services["rabbitmq"] and cluster_installed - cron_d 'rabbitmq_rotate_logs_daily' do - action :create - minute '00' - hour '01' - weekday '*' - retries 2 - ignore_failure true - command "/usr/lib/redborder/bin/rb_rabbitmq_rotate_logs.sh" - end -else - cron_d 'rabbitmq_rotate_logs_daily' do - action :delete - end -end - #--------------------------Events-counter-------------------------# cron_d 'eventscounter_daily' do action :create