added Puppet documentation, Jenkinsfile and Gemfile for CI

This commit is contained in:
Arne Teuke
2017-07-07 16:15:43 +01:00
parent 08e4559e67
commit 44a6e4aa08
13 changed files with 298 additions and 71 deletions

22
Gemfile Normal file
View File

@@ -0,0 +1,22 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
puppetversion = ENV.key?('PUPPET_VERSION') ? ENV['PUPPET_VERSION'] : ['>= 3.3']
gem 'metadata-json-lint'
gem 'puppet', puppetversion
gem 'puppetlabs_spec_helper', '>= 1.0.0'
gem 'puppet-lint', '>= 1.0.0'
gem 'facter', '>= 1.7.0'
gem 'rspec-puppet'
gem 'puppet-strings'
gem 'rake'
gem 'semantic_puppet'
gem 'rgen'
# rspec must be v2 for ruby 1.8.7
if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
gem 'rspec', '~> 2.0'
gem 'rake', '~> 10.0'
else
# rubocop requires ruby >= 1.9
gem 'rubocop'
end