Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 78141f1b authored by Lucas Nussbaum's avatar Lucas Nussbaum

[dev] start work on puppet generators

parent 81ce9e60
......@@ -17,22 +17,6 @@ VALIDATORS_DIR = "./generators/input-validators"
G5K_SITES = RefRepo::Utils::get_sites
namespace :puppet do
all_puppet_tasks = [:bindg5k, :conmang5k, :dhcpg5k, :kadeployg5k, :lanpowerg5k, :kavlang5k]
all_puppet_tasks.each { |t|
desc "Generate #{t} configuration"
task t do
invoke_script "#{PUPPET_DIR}/#{t}.rb"
end
}
desc "Launch all puppet generators"
task :all => all_puppet_tasks
end
namespace :valid do
desc "Check homogeneity of clusters -- parameters: SITE={grenoble,..} CLUSTER={yeti,..} VERBOSE=1"
......@@ -167,6 +151,23 @@ namespace :gen do
exit(ret)
end
namespace :puppet do
all_puppet_tasks = [:bindg5k, :conmang5k, :dhcpg5k, :kadeployg5k, :lanpowerg5k, :kavlang5k]
all_puppet_tasks.each { |t|
desc "Generate #{t} configuration"
task t do
invoke_script "#{PUPPET_DIR}/#{t}.rb"
end
}
desc "Launch all puppet generators"
task :all => all_puppet_tasks
end
end
desc "Creates JSON data from inputs"
......
Markdown is supported
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