Commit 3b2cb630 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Add execute ressource for nfsroot update

parent 0f720120
......@@ -3,5 +3,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.4.0"
version "0.4.1"
depends "nfs"
......@@ -116,7 +116,13 @@ template "/etc/fai/NFSROOT" do
:extra_pkgs => node.fai.common_extra_pkgs
})
mode 0644
#notifies :run, "execute[update-nfsroot]", :immediately
notifies :run, "execute[update-nfsroot]" #, :immediately ???
end
# update the nfsroot:
execute "update-nfsroot" do
command "fai-make-nfsroot -k"
action :nothing
end
# optionally setup logging ($LOGUSER)
......
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