Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 78141f1b authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev] start work on puppet generators

parent 81ce9e60
No related branches found
No related tags found
No related merge requests found
Showing
with 17 additions and 16 deletions
......@@ -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"
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment