summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index d05692ddc8..83b8a86819 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -72,7 +72,7 @@ class Chef
# url<String>:: String to be set for all of the chef-server-api URL's
#
config_attr_writer :chef_server_url do |url|
- url.strip!
+ url = url.strip
configure do |c|
[ :registration_url,
:template_url,