Skip to content

Commit

Permalink
Add cep_config
Browse files Browse the repository at this point in the history
  • Loading branch information
ViMesTor committed Feb 23, 2024
1 parent 87dfed9 commit f4eb603
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,12 @@
action (manager_services["rb-aioutliers"] ? [:add, :register] : [:remove, :deregister])
end

#rbcep_config "Configure redborder-cep" do
# flow_nodes node["redborder"]["sensors_info_all"]["flow-sensor"]
# vault_nodes node["redborder"]["sensors_info_all"]["vault-sensor"]
# ips_nodes node["redborder"]["sensors_info_all"]["ips-sensor"] + node["redborder"]["sensors_info_all"]["ipsv2-sensor"] + node["redborder"]["sensors_info_all"]["ipscp-sensor"]
# action (node["redborder"]["services"]["redborder-cep"] ? [:add, :register] : [:remove, :deregister])
#end

rbcep_config "Configure redborder-cep" do
flow_nodes node["redborder"]["sensors_info_all"]["flow-sensor"]
vault_nodes node["redborder"]["sensors_info_all"]["vault-sensor"]
ips_nodes node["redborder"]["sensors_info_all"]["ips-sensor"] + node["redborder"]["sensors_info_all"]["ipsv2-sensor"] + node["redborder"]["sensors_info_all"]["ipscp-sensor"]
action (node["redborder"]["services"]["redborder-cep"] ? [:add, :register] : [:remove, :deregister])
end

rbcgroup_config "Configure cgroups" do
action :add
Expand Down

0 comments on commit f4eb603

Please sign in to comment.