aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-22 12:06:11 -0800
committerelijah <elijah@riseup.net>2012-11-22 12:06:11 -0800
commit9d573fb01392ab0fe645b32191d61e4a8bf38afc (patch)
tree107a420f99b0e61e089083f28eed79bd9c185373
parentefdec76707ed115934d68263dc5463f8eb15357b (diff)
downloadleap_cli-9d573fb01392ab0fe645b32191d61e4a8bf38afc.tar.gz
leap_cli-9d573fb01392ab0fe645b32191d61e4a8bf38afc.tar.bz2
added lsb-release to init-node
-rw-r--r--lib/leap_cli/remote/tasks.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/leap_cli/remote/tasks.rb b/lib/leap_cli/remote/tasks.rb
index e8c4088..6bfffb2 100644
--- a/lib/leap_cli/remote/tasks.rb
+++ b/lib/leap_cli/remote/tasks.rb
@@ -13,9 +13,10 @@ task :install_authorized_keys, :max_hosts => MAX_HOSTS do
end
task :install_prerequisites, :max_hosts => MAX_HOSTS do
+ packages = "puppet ruby-hiera-puppet rsync lsb-release"
run "mkdir -p #{puppet_destination}"
run "apt-get update"
- run "DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Options::=--force-confold install puppet ruby-hiera-puppet rsync"
+ run "DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Options::=--force-confold install #{packages}"
end
#task :update_platform, :max_hosts => MAX_HOSTS do