Skip to content

Commit

Permalink
Remove rabbitmq references
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 13, 2023
1 parent d0d7328 commit 8829df1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
17 changes: 0 additions & 17 deletions resources/recipes/configure_cron_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8829df1

Please sign in to comment.