summaryrefslogtreecommitdiff
path: root/lib/leap_cli
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-27 13:25:51 -0700
committerelijah <elijah@riseup.net>2012-10-27 13:25:51 -0700
commit20fd81ee91e44b3812d1aea0b45d0e7429b16d02 (patch)
treeb2eefcea911ded1678d5ad1871242929b2dc5632 /lib/leap_cli
parent0b3bf4b04e558b5cccca0a3821de3e6af60aada5 (diff)
install ruby-hiera-puppet when doing init-node
Diffstat (limited to 'lib/leap_cli')
-rw-r--r--lib/leap_cli/remote/tasks.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/leap_cli/remote/tasks.rb b/lib/leap_cli/remote/tasks.rb
index e524133..1b15f6b 100644
--- a/lib/leap_cli/remote/tasks.rb
+++ b/lib/leap_cli/remote/tasks.rb
@@ -13,13 +13,9 @@ task :install_authorized_keys, :max_hosts => MAX_HOSTS do
end
task :install_prerequisites, :max_hosts => MAX_HOSTS do
- puppet.bootstrap.ubuntu
- #
- # runs this:
- # run "mkdir -p #{puppet_destination}"
- # run "#{sudo} apt-get update"
- # run "#{sudo} apt-get install -y puppet rsync"
- #
+ run "mkdir -p #{puppet_destination}"
+ run "#{sudo} apt-get update"
+ run "#{sudo} apt-get install -y puppet ruby-hiera-puppet rsync"
end
#task :update_platform, :max_hosts => MAX_HOSTS do