lib/leap_cli/commands/deploy.rb in leap_cli-1.7.3 vs lib/leap_cli/commands/deploy.rb in leap_cli-1.7.4
- old
+ new
@@ -32,11 +32,11 @@
if options[:dev] != true
init_submodules
end
- nodes = manager.filter!(args)
+ nodes = manager.filter!(args, :disabled => false)
if nodes.size > 1
say "Deploying to these nodes: #{nodes.keys.join(', ')}"
if !global[:yes] && !agree("Continue? ")
quit! "OK. Bye."
end
@@ -49,10 +49,10 @@
environments.each do |env|
check_platform_pinning(env, global)
end
# compile hiera files for all the nodes in every environment that is
# being deployed and only those environments.
- compile_hiera_files(manager.filter(environments))
+ compile_hiera_files(manager.filter(environments), false)
# update server certificates if needed
update_certificates(nodes)
ssh_connect(nodes, connect_options(options)) do |ssh|
ssh.leap.log :checking, 'node' do