diff options
author | elijah <elijah@riseup.net> | 2014-10-02 09:19:58 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-10-02 09:19:58 -0700 |
commit | 7bc348aa07afebc8287a6eeb1416cb844363d2fa (patch) | |
tree | a85af9b637c01a524c27b64eba5c70d9f421d40e /lib | |
parent | bbda12a4158a445fc7495911b2f5f01e5f139406 (diff) | |
download | leap_cli-7bc348aa07afebc8287a6eeb1416cb844363d2fa.tar.gz leap_cli-7bc348aa07afebc8287a6eeb1416cb844363d2fa.tar.bz2 |
bugfix: only recompile nodes in affected environments when deploying
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/commands/deploy.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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 |