From 7bc348aa07afebc8287a6eeb1416cb844363d2fa Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 2 Oct 2014 09:19:58 -0700 Subject: bugfix: only recompile nodes in affected environments when deploying --- lib/leap_cli/commands/deploy.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/leap_cli') 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 -- cgit v1.2.3