summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2016-09-22 11:11:13 -0400
committerEmilien Macchi <emilien@redhat.com>2016-09-22 21:26:23 -0400
commit1c4fe921e677c52dd01c9ce9aa12933fe0688b88 (patch)
tree229a250fff00be4394ef1a7e3a645051813253e1 /Gemfile
parent223c88460baf33f62acd9d089351b61306e42d72 (diff)
Switch puppet-tripleo to use puppet-openstack_spec_helper
Align puppet-tripleo with other Puppet OpenStack modules to use puppet-openstack_spec_helper. Here are the benefits: - Allow to use Depends-On between Puppet OpenStack modules and puppet-tripleo, and unit tests will work correctly with dependencies. - Use the Puppet OpenStack gemspec file that handle gems dependencies to test the module. - Allow to re-use ruby helper that Puppet OpenStack modules have in unit tests, to avoid duplicated code. - Don't manage .fixtures.yml file, it will be generated by Puppet OpenStack tooling. TripleO dependencies will live in Puppetfile_extras. Change-Id: Ic66e9f872c57545327a9fb4b8ae86fbf0abbd8be
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile27
1 files changed, 4 insertions, 23 deletions
diff --git a/Gemfile b/Gemfile
index 6181b3b..1fab608 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,28 +1,9 @@
source ENV['GEM_SOURCE'] || "https://rubygems.org"
-group :development, :test do
- gem 'puppetlabs_spec_helper', :require => 'false'
- gem 'rspec-puppet', '~> 2.2.0', :require => 'false'
- gem 'rspec-puppet-facts', :require => 'false'
- gem 'metadata-json-lint', :require => 'false'
- gem 'puppet-lint-param-docs', :require => 'false'
- gem 'puppet-lint-absolute_classname-check', :require => 'false'
- gem 'puppet-lint-absolute_template_path', :require => 'false'
- gem 'puppet-lint-trailing_newline-check', :require => 'false'
- gem 'puppet-lint-unquoted_string-check', :require => 'false'
- gem 'puppet-lint-leading_zero-check', :require => 'false'
- gem 'puppet-lint-variable_contains_upcase', :require => 'false'
- gem 'puppet-lint-numericvariable', :require => 'false'
- gem 'json', :require => 'false'
- # adding 'psych' explicitly
- # https://github.com/bundler/bundler/issues/2068
- # TODO: drop it in a future release of 'bundle'.
- gem 'psych', :require => 'false'
-end
-
-group :system_tests do
- gem 'beaker-rspec', :require => 'false'
- gem 'beaker-puppet_install_helper', :require => 'false'
+group :development, :test, :system_tests do
+ gem 'puppet-openstack_spec_helper',
+ :git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
+ :require => false
end
if facterversion = ENV['FACTER_GEM_VERSION']