Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use host name, not full host name, for web proxy suffixes

  • Loading branch information...
commit 4ad81a8741b53d484d49507f5fcb42f32c57bc62 1 parent 867236c
Alex Kremer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rubber/recipes/rubber/setup.rb
View
4 lib/rubber/recipes/rubber/setup.rb
@@ -408,7 +408,7 @@ def update_dyndns(instance_item)
# graphite web app)
if instance_item.role_names.include?('web_tools')
Array(rubber_env.web_tools_proxies).each do |name, settings|
- provider.update("#{name}.#{instance_item.full_name}", instance_item.external_ip)
+ provider.update("#{name}.#{instance_item.name}", instance_item.external_ip)
end
end
end
@@ -426,7 +426,7 @@ def destroy_dyndns(instance_item)
# graphite web app)
if instance_item.role_names.include?('web_tools')
Array(rubber_env.web_tools_proxies).each do |name, settings|
- provider.destroy("#{name}.#{instance_item.full_name}")
+ provider.destroy("#{name}.#{instance_item.name}")
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.