Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #14 from abottchen/pe-19513-sles-12-sp2-higgs-fix
Browse files Browse the repository at this point in the history
(PE-19513) SLES 12 SP2 Higgs support
  • Loading branch information
jpartlow authored Feb 10, 2017
2 parents e357d75 + 87f9797 commit bb32dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chloride/action/detect_platform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ def go(&stream_block)
:rhel
when /amazonami/
:amazon
when /suselinux/
when /suse/
:sles
else
distribution.to_sym
end

release = lsb_data['Release'].gsub(/\s+/, '')
release = case distribution
when :centos, :rhel
when :centos, :rhel, :sles
release.split('.')[0]
when :debian
if release == 'testing'
Expand Down

0 comments on commit bb32dd9

Please sign in to comment.