summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile42
1 files changed, 23 insertions, 19 deletions
diff --git a/Gemfile b/Gemfile
index 10b37ac..6d4ce9a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,26 +1,30 @@
-source 'https://rubygems.org'
+source ENV['GEM_SOURCE'] || "https://rubygems.org"
group :development, :test do
- gem 'puppetlabs_spec_helper', :require => false
- gem 'rspec-puppet', '~> 2.1.0', :require => false
-
- gem 'metadata-json-lint'
- gem 'puppet-lint-param-docs'
- gem 'puppet-lint-absolute_classname-check'
- gem 'puppet-lint-absolute_template_path'
- gem 'puppet-lint-trailing_newline-check'
-
- # Puppet 4.x related lint checks
- gem 'puppet-lint-unquoted_string-check'
- gem 'puppet-lint-leading_zero-check'
- gem 'puppet-lint-variable_contains_upcase'
- gem 'puppet-lint-numericvariable'
+ gem 'puppetlabs_spec_helper', :require => 'false'
+ gem 'rspec-puppet', '~> 2.2.0', :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'
+ gem 'webmock', :require => 'false'
+end
- gem 'json'
- gem 'webmock'
- gem 'r10k'
- gem 'librarian-puppet-simple', '~> 0.0.3'
+group :system_tests do
+ gem 'beaker-rspec', :require => 'false'
+ gem 'beaker-puppet_install_helper', :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']