Commit f56ddd63 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Only create exports entries if the directory actually exists

parent b0366b07
......@@ -4,7 +4,7 @@ maintainer_email "hpc@gsi.de"
license "All rights reserved"
description "Installs/Configures fai"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.8.4"
version "0.8.5"
depends "nfs"
source_url 'https://git.gsi.de/chef/cookbooks/fai'
......
......@@ -161,6 +161,7 @@ node['fai']['clients'].each do |client|
writeable false
sync false
options ['subtree_check', 'no_root_squash']
only_if 'test -d /srv/fai/nfsroot'
end
end
......@@ -170,5 +171,6 @@ node['fai']['insecure_clients'].each do |insecure_client|
writeable false
sync false
options ['subtree_check', 'no_root_squash','insecure']
only_if 'test -d /srv/fai/nfsroot'
end
end
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