From: Walter Huf Date: Tue, 6 Jan 2015 06:06:56 +0000 (-0600) Subject: Fixes a rubocop warning X-Git-Tag: v0.8.0~5^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3bdab4553ba69a59164977fb245298312c688735;p=ceph-cookbooks.git Fixes a rubocop warning The rest of the cookbook uses strings instead of hashes for attribute names --- diff --git a/templates/default/rgw.conf.erb b/templates/default/rgw.conf.erb index 4a5ebd5..16778de 100644 --- a/templates/default/rgw.conf.erb +++ b/templates/default/rgw.conf.erb @@ -26,7 +26,7 @@ LogFormat "%{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{Use AllowOverride All SetHandler fastcgi-script AuthBasicAuthoritative Off - <%- if node[:apache][:version].to_f < 2.4 %> + <%- if node['apache']['version'].to_f < 2.4 %> Order allow,deny Allow from all <%- else %>