lib/leap_cli/commands/deploy.rb in leap_cli-1.5.1 vs lib/leap_cli/commands/deploy.rb in leap_cli-1.5.6
- old
+ new
@@ -36,11 +36,11 @@
if !global[:yes] && !agree("Continue? ")
quit! "OK. Bye."
end
end
- compile_hiera_files(nodes)
+ compile_hiera_files
ssh_connect(nodes, connect_options(options)) do |ssh|
ssh.leap.log :checking, 'node' do
ssh.leap.check_for_no_deploy
ssh.leap.assert_initialized
@@ -52,10 +52,10 @@
ssh.leap.log :synching, "puppet manifests" do
sync_puppet_files(ssh)
end
unless options[:sync]
ssh.leap.log :applying, "puppet" do
- ssh.puppet.apply(:verbosity => LeapCli.log_level, :tags => tags(options), :force => options[:force])
+ ssh.puppet.apply(:verbosity => [LeapCli.log_level,5].min, :tags => tags(options), :force => options[:force])
end
end
end
end
end