Skip to content

Commit

Permalink
Handle no default in ctl script
Browse files Browse the repository at this point in the history
* Enable debug endpoint in lite deployments

[#135509501]
  • Loading branch information
williammartin committed Dec 6, 2016
1 parent 66e4f26 commit e22d9bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jobs/garden/templates/garden_ctl.erb
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,11 @@ case $1 in
<% if p("garden.allow_host_access") %> \
--allow-host-access \
<% end %> \
<% debug_ip, debug_port = p("garden.debug_listen_address").split(":") %> \
<% if_p("garden.debug_listen_address") do |debug_listen_address| %> \
<% debug_ip, debug_port = debug_listen_address.split(":") %> \
--debug-bind-ip=<%= debug_ip %> \
--debug-bind-port=<%= debug_port %> \
<% end %> \
--default-rootfs=<%= p("garden.default_container_rootfs") %> \
--default-grace-time=<%= p("garden.default_container_grace_time") %> \
--graph-cleanup-threshold-in-megabytes=<%= p("garden.graph_cleanup_threshold_in_mb") %> \
Expand Down
1 change: 1 addition & 0 deletions manifests/bosh-lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
graph_cleanup_threshold_in_mb: 1024
listen_network: tcp
listen_address: 0.0.0.0:7777
debug_listen_address: 0.0.0.0:17013
log_level: debug

networks:
Expand Down
1 change: 1 addition & 0 deletions manifests/garden-groot-lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
graph_cleanup_threshold_in_mb: 1024
listen_network: tcp
listen_address: 0.0.0.0:7777
debug_listen_address: 0.0.0.0:17013
log_level: debug
image_plugin: /var/vcap/jobs/grootfs/bin/grootfs_wrapper
grootfs:
Expand Down

0 comments on commit e22d9bf

Please sign in to comment.