Commit 12ccd564 authored by Victor Penso's avatar Victor Penso
Browse files

Use sys::autofs on Wheezy only

parent f2db947f
......@@ -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.1.2"
version "0.1.3"
depends "sys"
depends "apache2", "~> 1.8"
supports "debian", ">= 7.0"
# Cookbook Name:: cernvm-fs
# Recipe:: client
# Author:: Victor Penso
# Copyright:: 2013, GSI, HPC Department
# Copyright:: 2013-2015, GSI, HPC Department
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......@@ -15,8 +15,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
node.default['sys']['autofs']['maps']['/cvmfs']['map'] = '/etc/auto.cvmfs'
include_recipe 'sys::autofs'
case node.platform_version
when /^7.*/
node.default['sys']['autofs']['maps']['/cvmfs']['map'] = '/etc/auto.cvmfs'
include_recipe 'sys::autofs'
end
# Make sure the CMVFS user can use FUSE
# to mount a repositories
......
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