Commit 297d5b7b authored by m.pausch's avatar m.pausch
Browse files

Fix some deprecation-warnings

parent b86fd9b3
......@@ -4,7 +4,7 @@ maintainer_email "hpc@gsi.de"
license "Apache 2.0"
description "Deploy and configure CernVM-FS clients and servers."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.2.1"
version "0.2.2"
depends "sys"
depends "apache2"
supports "debian", ">= 7.0"
......@@ -42,7 +42,7 @@ end
execute 'modprobe fuse'
directory node.cvmfs.client.default_local.cache_base do
directory node['cvmfs']['client']['default_local']['cache_base'] do
owner 'cvmfs'
group 'cvmfs'
mode '0755'
......@@ -52,17 +52,17 @@ end
template '/etc/cvmfs/default.local' do
source 'etc_cvmfs_default.local.erb'
mode "0644"
variables(
:repos => node.cvmfs.client.config_d.keys,
:config => node.cvmfs.client.default_local
variables(
:repos => node['cvmfs']['client']['config_d'].keys,
:config => node['cvmfs']['client']['default_local']
)
end
directory '/etc/cvmfs/config.d'
# Each repository needs its configuration file
unless node.cvmfs.client.config_d.empty?
node.cvmfs.client.config_d.each do |repo,config|
unless node['cvmfs']['client']['config_d'].empty?
node['cvmfs']['client']['config_d'].each do |repo,config|
config['http_proxy'] = 'DIRECT' unless config.has_key? 'http_proxy'
......@@ -75,4 +75,3 @@ unless node.cvmfs.client.config_d.empty?
end
end
Markdown is supported
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