Skip to content
Snippets Groups Projects
Commit 54222862 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Cover the case when platform is reported as opensuseleap for pushing packages...

Cover the case when platform is reported as opensuseleap for pushing packages to package repository.
parent 78580cb6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -38,8 +38,8 @@ def repo_string
when /^7\./
version = '7'
end
when 'opensuse'
os = ohai['platform']
when 'opensuse', 'opensuseleap'
os = 'opensuse'
version = ohai['platform_version']
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment