Skip to content

Commit

Permalink
Merge pull request #110 from redBorder/feature/16524_rbcep
Browse files Browse the repository at this point in the history
Add cep_config
  • Loading branch information
JPeraltaNic authored Mar 21, 2024
2 parents 87dfed9 + f4eb603 commit 1e53a52
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 1e53a52

Please sign in to comment.