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

Don't fail on errors from 'fai-make-nfsroot -k'

parent 9a45ff56
......@@ -4,5 +4,5 @@ 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.7.4"
version "0.7.5"
depends "nfs"
......@@ -133,6 +133,8 @@ execute "update-nfsroot" do
action :nothing
end
# TODO: add cron job for periodic updating of nfsroot
# optionally setup logging ($LOGUSER)
# build nfsroot(s),
......
......@@ -107,6 +107,8 @@ node.fai.flavors.each do |f, config|
execute "update-#{f}-nfsroot" do
command "#{nfsroot_cmd} -k -C #{configdir}"
action :nothing
# don't abort if nfsroot upgrades fail:
ignore_failure true
only_if do
File.exists? nfs_dir
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