Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Remove most version detections from EL family distros
Browse files Browse the repository at this point in the history
Omnibus installer supports generally new releases fast, so we
don't need to check the version. There is not much difference
if we don't support some version or if the omnibus installer
fails. In both cases the user has to install Chef manually
(or file an issue to us to make an exception).
  • Loading branch information
tmatilai committed Apr 12, 2013
1 parent ec44dd9 commit 51a5818
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions lib/knife-solo/bootstraps/linux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,15 @@ def distro
{:type => (x86? ? "debianoid_omnibus" : "debianoid_gem")}
when %r{Linaro}
{:type => "debianoid_gem"}
when %r{CentOS.*? 5}
{:type => "yum_omnibus"}
when %r{CentOS.*? 6}
when %r{CentOS}
{:type => "yum_omnibus"}
when %r{Amazon Linux}
{:type => "yum_omnibus"}
when %r{Red Hat Enterprise.*? 5}
{:type => "yum_omnibus"}
when %r{Red Hat Enterprise.*? 6}
{:type => "yum_omnibus"}
when %r{Fedora release.*? 15}
{:type => "yum_omnibus"}
when %r{Fedora release.*? 16}
{:type => "yum_omnibus"}
when %r{Fedora release.*? 17}
{:type => "yum_omnibus"}
when %r{Fedora release.*? 18}
when %r{Red Hat Enterprise}
{:type => "yum_omnibus"}
when %r{Scientific Linux.*? 5}
when %r{Fedora release}
{:type => "yum_omnibus"}
when %r{Scientific Linux.*? 6}
when %r{Scientific Linux}
{:type => "yum_omnibus"}
when %r{SUSE Linux Enterprise Server 1[12]}
{:type => "omnibus"}
Expand Down

0 comments on commit 51a5818

Please sign in to comment.