]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
install ruby-hiera-puppet when doing init-node
authorelijah <elijah@riseup.net>
Sat, 27 Oct 2012 20:25:51 +0000 (13:25 -0700)
committerelijah <elijah@riseup.net>
Sat, 27 Oct 2012 20:25:51 +0000 (13:25 -0700)
lib/leap_cli/remote/tasks.rb

index e524133bdd7cb05757c3fb497972f318b316c2d6..1b15f6b9d0ed13545b23cf21e3441c5ba9d23de6 100644 (file)
@@ -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