aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/deploy.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-04 01:22:23 -0800
committerelijah <elijah@riseup.net>2012-11-04 01:22:23 -0800
commitdc3eeb6d98a48ab1834dc2d76514664a204b3619 (patch)
tree3132ea48a3b7ba555ba2b83e2fb208aca6386f9c /lib/leap_cli/commands/deploy.rb
parent05f4f6944e8b44ea92eaf55c7368261478ee41ea (diff)
downloadleap_cli-dc3eeb6d98a48ab1834dc2d76514664a204b3619.tar.gz
leap_cli-dc3eeb6d98a48ab1834dc2d76514664a204b3619.tar.bz2
better reporting of puppet progress (supply_drop hack)
Diffstat (limited to 'lib/leap_cli/commands/deploy.rb')
-rw-r--r--lib/leap_cli/commands/deploy.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/leap_cli/commands/deploy.rb b/lib/leap_cli/commands/deploy.rb
index f820e5a..13fcb1d 100644
--- a/lib/leap_cli/commands/deploy.rb
+++ b/lib/leap_cli/commands/deploy.rb
@@ -39,11 +39,10 @@ module LeapCli
#
ssh.set :puppet_source, [Path.platform, 'puppet'].join('/')
ssh.set :puppet_destination, '/srv/leap'
- ssh.set :puppet_command, '/usr/bin/puppet apply'
+ ssh.set :puppet_command, '/usr/bin/puppet apply --color=false'
ssh.set :puppet_lib, "puppet/modules"
ssh.set :puppet_parameters, '--confdir puppet puppet/manifests/site.pp'
- #cap.set :puppet_stream_output, false
- #puppet_cmd = "cd #{puppet_destination} && #{sudo_cmd} #{puppet_command} --modulepath=#{puppet_lib} #{puppet_parameters}"
+ ssh.set :puppet_stream_output, true
ssh.apply_puppet
end
end