Skip to content

Commit

Permalink
add k2http to rb-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidredborder committed Mar 14, 2024
1 parent e8ad11d commit f5d4314
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
depends 'rbale'
depends 'n2klocd'
#depends 'freeradius'
#depends 'k2http'
depends 'k2http'
#depends 'ohai'
depends 'rbcgroup'
10 changes: 4 additions & 6 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,14 @@
action (node["redborder"]["services"]["redborder-ale"] ? [:add] : [:remove])
end

k2http_config "Configure k2http" do
action (proxy_services["k2http"] ? [:add] : [:remove])
end

rbcgroup_config "Configure cgroups" do
action :add
end


#--------------------------MOTD--------------------------#

manager =`grep "cloud_address" /etc/redborder/rb_init_conf.yml | cut -d' ' -f2`
Expand All @@ -126,10 +129,5 @@
# action (node["redborder"]["services"]["radiusd"] ? [:config_common] : [:remove])
#end

## TODO: replace node["redborder"]["services"] in action with "proxy_services"..
#k2http_config "Configure k2http" do
# action (proxy_services["k2http"] ? [:add] : [:remove])
#end



0 comments on commit f5d4314

Please sign in to comment.