-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(CAT-643) - Add puppet_forge gem and deps to pdk-runtime
(CAT-643) - Add puppet_forge gem to make use of module updaload functionality instead of maintaining our own functionality update deps to be compatible with forge gem
- Loading branch information
1 parent
dd4b02c
commit 1f4fd88
Showing
6 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
component 'rubygem-faraday-follow_redirects' do |pkg, settings, platform| | ||
pkg.version '0.3.0' | ||
pkg.md5sum '75fa678fa40b54a94e51efc1600a6461' | ||
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
component 'rubygem-faraday-net_http' do |pkg, settings, platform| | ||
pkg.version '1.0.2' | ||
pkg.md5sum 'b8e560b8cd7c008a7fd1686143428337' | ||
version = settings[:rubygem_faraday_net_http_version] || '1.0.2' | ||
|
||
case version | ||
when '1.0.2' | ||
pkg.version '1.0.2' | ||
pkg.md5sum 'b8e560b8cd7c008a7fd1686143428337' | ||
when '3.3.0' | ||
pkg.version '3.3.0' | ||
pkg.md5sum '7e6378aaa271587dd4109795c0a05769' | ||
else | ||
raise "rubygem-faraday-net_http version #{version} is not supported" | ||
end | ||
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
component 'rubygem-faraday' do |pkg, settings, platform| | ||
pkg.version '1.10.3' | ||
pkg.md5sum 'c7b56130721c0b055c071bec593e2446' | ||
version = settings[:rubygem_faraday_version] || '1.10.3' | ||
|
||
case version | ||
when '1.10.3' | ||
pkg.version '1.10.3' | ||
pkg.md5sum 'c7b56130721c0b055c071bec593e2446' | ||
when '2.12.0' | ||
pkg.version '2.12.0' | ||
pkg.md5sum 'c0248b00a32c46b64cd2a172c96409ec' | ||
else | ||
raise "rubygem-faraday version #{version} is not supported" | ||
end | ||
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
component 'rubygem-puppet_forge' do |pkg, settings, platform| | ||
pkg.version '3.2.0' | ||
pkg.md5sum '501d5f9f742007504d0d60ce6cf0c27f' | ||
version = settings[:rubygem_puppet_forge_version] || '3.2.0' | ||
pkg.version version | ||
|
||
case version | ||
when '3.2.0' | ||
pkg.version '3.2.0' | ||
pkg.md5sum '501d5f9f742007504d0d60ce6cf0c27f' | ||
when '5.0.4' | ||
pkg.version '5.0.4' | ||
pkg.md5sum '04a2ca2f027ed41d9142ced587b71bd7' | ||
else | ||
raise "rubygem-puppet_forge version #{version} is not supported" | ||
end | ||
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters