Commit 5ef64195 authored by Christopher Huhn's avatar Christopher Huhn 🥚
Browse files

Directly write to /etc/auto.master.d/cvmfs.autofs, drop sys::autofs

parent 122927ce
......@@ -23,17 +23,24 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
case node['platform_version'].to_i
when 7
node.default['sys']['autofs']['maps']['cvmfs'] = {}
include_recipe 'sys::autofs'
when 9..10
when 9
node.default_unless['sys']['autofs']['maps']['cvmfs'] = {
mapname: '/usr/lib/cvmfs/auto.cvmfs'
}
include_recipe 'sys::autofs'
when 10
file '/etc/auto.master.d/cvmfs.autofs' do
content <<-EOF
# generated by Chef, cernvm-fs cookbook
/cvmfs program:/etc/auto.cvmfs
EOF
end
end
# Make sure the CMVFS user can use FUSE
......
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