From: elijah Date: Thu, 2 Oct 2014 16:19:58 +0000 (-0700) Subject: bugfix: only recompile nodes in affected environments when deploying X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7bc348aa07afebc8287a6eeb1416cb844363d2fa;p=leap%2Fleap_cli.git bugfix: only recompile nodes in affected environments when deploying --- diff --git a/lib/leap_cli/commands/deploy.rb b/lib/leap_cli/commands/deploy.rb index bd1f479..b78f130 100644 --- a/lib/leap_cli/commands/deploy.rb +++ b/lib/leap_cli/commands/deploy.rb @@ -51,7 +51,9 @@ module LeapCli environments.each do |env| check_platform_pinning(env) end - compile_hiera_files + # compile hiera files for all the nodes in every environment that is + # being deployed and only those environments. + compile_hiera_files(manager.filter(environments)) ssh_connect(nodes, connect_options(options)) do |ssh| ssh.leap.log :checking, 'node' do