]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Fixes a rubocop warning 180/head
authorWalter Huf <walter.huf@corvisa.com>
Tue, 6 Jan 2015 06:06:56 +0000 (00:06 -0600)
committerWalter Huf <walter.huf@corvisa.com>
Tue, 6 Jan 2015 06:06:56 +0000 (00:06 -0600)
The rest of the cookbook uses strings instead of hashes for attribute names

templates/default/rgw.conf.erb

index 4a5ebd5ed65e5f4cec7f68e0d1eddff5ec1b6d26..16778deb3910bf9d8fd267b57a90b9522071fed9 100644 (file)
@@ -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 %>