summaryrefslogtreecommitdiff
path: root/lib/leap_cli/remote
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-11-12 22:40:59 +0100
committervarac <varacanero@zeromail.org>2015-11-12 22:40:59 +0100
commit169d6472f79932091e869e59c91b6f29960fdc3a (patch)
tree553b7b28c71c6603909a30b53d8b4e55f754aa09 /lib/leap_cli/remote
parent88a66ba981ef6467267531132836b03871858ca2 (diff)
[bug] don't install ruby-hiera-puppet on jessie
- Resolves: #6922
Diffstat (limited to 'lib/leap_cli/remote')
-rw-r--r--lib/leap_cli/remote/tasks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/remote/tasks.rb b/lib/leap_cli/remote/tasks.rb
index 49b1cfd..b4d05d8 100644
--- a/lib/leap_cli/remote/tasks.rb
+++ b/lib/leap_cli/remote/tasks.rb
@@ -57,7 +57,7 @@ task :install_prerequisites, :max_hosts => MAX_HOSTS do
run "( test -f /etc/init.d/ntp && /etc/init.d/ntp start ) || true"
end
leap.log :installing, "required packages" do
- run %[#{apt_get} install $( (grep -q wheezy /etc/debian_version && echo #{leap.required_wheezy_packages}) || echo #{leap.required_packages} )]
+ run %[#{apt_get} install $( (egrep -q '(^wheezy|^7\.)' /etc/debian_version && echo #{leap.required_wheezy_packages}) || echo #{leap.required_packages} )]
end
#run "locale-gen"
leap.mkdirs("/etc/leap", "/srv/leap")
@@ -72,4 +72,4 @@ task :skip_errors_task, :on_error => :continue, :max_hosts => MAX_HOSTS do
end
task :standard_task, :max_hosts => MAX_HOSTS do
-end \ No newline at end of file
+end