Gemfile 1.64 KB
Newer Older
1
source ENV['GEM_SOURCE'] || "https://rubygems.org"
Raphaël Pinson's avatar
Raphaël Pinson committed
2

3
group :development, :unit_tests do
Raphaël Pinson's avatar
Raphaël Pinson committed
4
  gem 'rake',                                              :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
5
  gem 'rspec-puppet',                                      :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
6
7
8
9
10
11
  gem 'puppetlabs_spec_helper',                            :require => false
  gem 'puppet-lint', '~> 1.0.0',                           :require => false
  gem 'puppet-lint-unquoted_string-check',                 :require => false
  gem 'puppet-lint-empty_string-check',                    :require => false
  gem 'puppet-lint-spaceship_operator_without_tag-check',  :require => false
  gem 'puppet-lint-variable_contains_upcase',              :require => false
12
  gem 'puppet-lint-absolute_classname-check',              :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
13
  gem 'puppet-lint-undef_in_function-check',               :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
14
15
16
17
  gem 'simplecov',                                         :require => false
  gem 'rspec-puppet-facts',                                :require => false
  gem 'json',                                              :require => false
  gem 'metadata-json-lint',                                :require => false
18
19
20
end

group :system_tests do
Raphaël Pinson's avatar
Raphaël Pinson committed
21
  gem 'beaker',        :require => false, :git => 'https://github.com/mcanevet/beaker', :branch => 'openstack'
22
23
  gem 'beaker-rspec',  :require => false
  gem 'serverspec',    :require => false
24
25
26
27
28
29
30
31
32
33
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
Raphaël Pinson's avatar
Raphaël Pinson committed
34
else
35
  gem 'puppet', :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
36
37
end

38
# vim:ft=ruby