Sha256: 7e9c905ec4fb874747d0c813ac4c4c60666a88c5d0744ad93226d97993d05443
Contents?: true
Size: 362 Bytes
Versions: 6
Compression:
Stored size: 362 Bytes
Contents
module KatelloForemanEngine module Helpers class << self # takes repo uri from Katello and makes installation media url # suitable for provisioning from it def installation_media_path(repo_uri) path = repo_uri.sub(/\Ahttps/, 'http') path << "/" unless path.end_with?('/') return path end end end end
Version data entries
6 entries across 6 versions & 1 rubygems