Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
fai
Commits
3b2cb630
Commit
3b2cb630
authored
Nov 10, 2014
by
Christopher Huhn
Browse files
Add execute ressource for nfsroot update
parent
0f720120
Changes
2
Hide whitespace changes
Inline
Side-by-side
metadata.rb
View file @
3b2cb630
...
...
@@ -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"
recipes/default.rb
View file @
3b2cb630
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment