Commit 9f63556e authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Use flavor specific hook dir by default

parent 57b99daf
......@@ -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.5"
version "0.9.0"
depends "nfs"
source_url 'https://git.gsi.de/chef/cookbooks/fai'
......
......@@ -71,7 +71,7 @@ node['fai']['flavors'].each do |f, config|
# install kernel into a flavor specific subdir for distinction:
:tftpdir => tftpdir,
:arch => "--arch " + arch,
:hookdir => config['hookdir'] || '/etc/fai/nfsroot-hooks/'
:hookdir => config['hookdir'] || "/etc/fai/#{f}/nfsroot-hooks/"
})
mode 0644
notifies :run, "execute[update-#{f}-nfsroot]"
......
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