Project

General

Profile

« Previous | Next » 

Revision c289176c

Added by Ohad Levy about 14 years ago

  • ID c289176c6e4936c79ab0649a421188d9ed2d3bb3

fixes #237 - installing puppet from epel breaks if base image is not 5.3 or 4.9 release

View differences:

app/models/operatingsystem.rb
to_label
end
def to_version
"#{major}#{('-' + minor) unless minor.empty?}"
end
def fullname
"#{name}_#{to_version}"
to_label
end
private

Also available in: Unified diff