Skip to content

Commit

Permalink
Do not wait for cluster installation
Browse files Browse the repository at this point in the history
  • Loading branch information
malvads committed Nov 28, 2023
1 parent c6daa4e commit d04d7cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,9 @@
# action (node["redborder"]["services"]["redborder-cep"] ? [:add, :register] : [:remove, :deregister])
#end

cluster_installed = `[ -e /etc/redborder/cluster-installed.txt ] && echo 1 || echo 0`

rbcgroup_config "Configure cgroups" do
action (cluster_installed == 1 ? :add : nil)
action :add
end

# Determine external
Expand Down

0 comments on commit d04d7cc

Please sign in to comment.