e139e6fb59
This change creates a top level Rakefile that can be used to run all of the lint, syntax and spec tasks for the modules and files in this repository. This is needed to integrate with the openstack-infra puppet syntax and unit test jobs. This change disables the unit tests for l23network until they can be fixed as part of bug 1507742. Change-Id: I1f637f2f2fd91ce01ba2a92f6ea45499def5333d Related-Bug: #1507751 Related-Bug: #1507742
27 lines
790 B
Ruby
27 lines
790 B
Ruby
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
|
|
group :development, :unit_tests do
|
|
gem 'rake', :require => false
|
|
gem 'rspec-core', '~>3.3', :require => false
|
|
gem 'rspec-puppet', :require => false
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'puppet-lint', :require => false
|
|
gem 'simplecov', :require => false
|
|
gem 'puppet_facts', :require => false
|
|
gem 'json', :require => false
|
|
end
|
|
|
|
if facterversion = ENV['FACTER_GEM_VERSION']
|
|
gem 'facter', facterversion, :require => false
|
|
else
|
|
gem 'facter', :require => false
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|