-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1073 from kevpl/bkr308_beaker_pe_create
(BKR-308) moved PE-specific functionality to beaker-pe
- Loading branch information
Showing
9 changed files
with
11 additions
and
1,699 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 |
---|---|---|
@@ -1,22 +1,3 @@ | ||
source ENV['GEM_SOURCE'] || "https://rubygems.org" | ||
|
||
def location_for(place, fake_version = nil) | ||
if place =~ /^(git:[^#]*)#(.*)/ | ||
[fake_version, { :git => $1, :branch => $2, :require => false }].compact | ||
elsif place =~ /^file:\/\/(.*)/ | ||
['>= 0', { :path => File.expand_path($1), :require => false }] | ||
else | ||
[place, { :require => false }] | ||
end | ||
end | ||
|
||
scooter_version = ENV['SCOOTER_VERSION'] | ||
if ENV['GEM_SOURCE'] =~ /rubygems\.delivery\.puppetlabs\.net/ | ||
if scooter_version | ||
gem 'scooter', *location_for(scooter_version) | ||
else | ||
gem 'scooter', '~> 2.0' | ||
end | ||
end | ||
|
||
gemspec |
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
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 was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
%w(validator options_hash presets command_line_parser options_file_parser hosts_file_parser pe_version_scraper parser).each do |lib| | ||
%w(validator options_hash presets command_line_parser options_file_parser hosts_file_parser parser).each do |lib| | ||
require "beaker/options/#{lib}" | ||
end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.