Skip to content

Commit

Permalink
Add cgroup v2 capabilities to RedBorder NG (#88)
Browse files Browse the repository at this point in the history
* Add rbcgroupc cookbook as dependency

* Disable rbaioutliers cookbook

* Add configure of cgroups

* Check for cluster install before creating cgroups

* Do not wait for cluster installation
  • Loading branch information
malvads authored Nov 29, 2023
1 parent a3d00d5 commit 2da7b00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@
depends 'rbcep'
depends 'cron'
#depends 'ohai'
depends 'rbaioutliers'
#depends 'rbaioutliers'
depends 'rbcgroup'
4 changes: 4 additions & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@
# action (node["redborder"]["services"]["redborder-cep"] ? [:add, :register] : [:remove, :deregister])
#end


rbcgroup_config "Configure cgroups" do
action :add
end

# Determine external
external_services = Chef::DataBagItem.load("rBglobal", "external_services")
Expand Down

0 comments on commit 2da7b00

Please sign in to comment.