Commit 6a1ebaf5 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Node attributes are strings, not symbols

parent 44bea694
......@@ -82,7 +82,8 @@ directory '/etc/cvmfs/domain.d'
node['cvmfs']['client']['domain_d'].each do |repo, attrs|
config = { http_proxy: 'DIRECT' }
# node attributes are strings
config = { 'http_proxy' => 'DIRECT' }
config.merge!(attrs)
template "/etc/cvmfs/domain.d/#{repo}.conf" do
......@@ -102,7 +103,8 @@ directory '/etc/cvmfs/config.d'
# Each repository needs its configuration file
node['cvmfs']['client']['config_d'].each do |repo, attrs|
config = { http_proxy: 'DIRECT' }
# node attributes are strings
config = { 'http_proxy' => 'DIRECT' }
config.merge!(attrs)
template "/etc/cvmfs/config.d/#{repo}.conf" do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment