diff options
author | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
commit | 51cfbdc4d16739caac4d946fadbe678444aafe34 (patch) | |
tree | 56dfd8f1cd9fd933de27268b32402e955a43ac2b /kitchen-tests/cookbooks/webapp/attributes/default.rb | |
parent | 05064423057d4cf46f4713b81b08829cf6d20af6 (diff) | |
download | chef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz |
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go
along with chef/chefstyle#5 . We should pick something and use it
consistently, and my opinion is that double quotes are the appropriate
thing.
Diffstat (limited to 'kitchen-tests/cookbooks/webapp/attributes/default.rb')
-rw-r--r-- | kitchen-tests/cookbooks/webapp/attributes/default.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kitchen-tests/cookbooks/webapp/attributes/default.rb b/kitchen-tests/cookbooks/webapp/attributes/default.rb index fb33efa49e..2ff7a6c5ff 100644 --- a/kitchen-tests/cookbooks/webapp/attributes/default.rb +++ b/kitchen-tests/cookbooks/webapp/attributes/default.rb @@ -1,14 +1,14 @@ -default['apache']['remote_host_ip'] = '127.0.0.1' +default["apache"]["remote_host_ip"] = "127.0.0.1" -default['webapp']['database'] = 'webapp' -default['webapp']['db_username'] = 'webapp' -default['webapp']['path'] = '/srv/webapp' +default["webapp"]["database"] = "webapp" +default["webapp"]["db_username"] = "webapp" +default["webapp"]["path"] = "/srv/webapp" # XXX: apache2 cookbook 2.0.0 has bugs around changing the mpm and then attempting a graceful restart # which fails and leaves the service down. -case node['platform'] +case node["platform"] when "ubuntu" - if node['platform_version'].to_f >= 14.04 - default[:apache][:mpm] = 'event' + if node["platform_version"].to_f >= 14.04 + default[:apache][:mpm] = "event" end end |