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
76779c21
Commit
76779c21
authored
Feb 18, 2015
by
Dennis Klein
Browse files
support flavor-specific hookdir
parent
36e58749
Changes
2
Hide whitespace changes
Inline
Side-by-side
metadata.rb
View file @
76779c21
...
...
@@ -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.
0
"
version
"0.7.
1
"
depends
"nfs"
recipes/flavors.rb
View file @
76779c21
...
...
@@ -63,7 +63,7 @@ node.fai.flavors.each do |f, config|
# install kernel into a flavor specific subdir for distinction:
:tftpdir
=>
tftpdir
,
:arch
=>
"--arch "
+
arch
,
:hookdir
=>
'/etc/fai/nfsroot-hooks/'
:hookdir
=>
config
[
'hookdir'
]
||
'/etc/fai/nfsroot-hooks/'
})
mode
0644
notifies
:run
,
"execute[update-
#{
f
}
-nfsroot]"
...
...
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