forked from thias/puppet-vsftpd
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Phil-Friderici/puppet49
Support Puppet >= 4.10 and Ruby 2.3.1
- Loading branch information
Showing
6 changed files
with
88 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,35 @@ | ||
source 'https://rubygems.org' | ||
source ENV['GEM_SOURCE'] || 'https://rubygems.org' | ||
|
||
if puppetversion = ENV['PUPPET_GEM_VERSION'] | ||
gem 'puppet', puppetversion, :require => false | ||
if ENV['PUPPET_GEM_VERSION'] | ||
gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false | ||
else | ||
gem 'puppet', :require => false | ||
end | ||
|
||
gem 'metadata-json-lint' | ||
gem 'puppetlabs_spec_helper', '>= 0.1.0' | ||
gem 'puppet-lint', '>= 1.0.0' | ||
gem 'facter', '>= 1.7.0' | ||
gem 'rspec-puppet' | ||
gem 'puppet-lint', '~> 2.0' | ||
gem 'puppet-lint-absolute_classname-check' | ||
gem 'puppet-lint-alias-check' | ||
gem 'puppet-lint-empty_string-check' | ||
gem 'puppet-lint-file_ensure-check' | ||
gem 'puppet-lint-file_source_rights-check' | ||
gem 'puppet-lint-leading_zero-check' | ||
gem 'puppet-lint-spaceship_operator_without_tag-check' | ||
gem 'puppet-lint-trailing_comma-check' | ||
gem 'puppet-lint-undef_in_function-check' | ||
gem 'puppet-lint-unquoted_string-check' | ||
gem 'puppet-lint-variable_contains_upcase' | ||
|
||
# rspec must be v2 for ruby 1.8.7 | ||
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9' | ||
gem 'rspec', '~> 2.0' | ||
end | ||
gem 'rspec', '~> 2.0' if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9' | ||
gem 'rake', '~> 10.0' if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9' | ||
gem 'json', '<= 1.8' if RUBY_VERSION < '2.0.0' | ||
gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0' | ||
gem 'metadata-json-lint', '0.0.11' if RUBY_VERSION < '1.9' | ||
gem 'metadata-json-lint' if RUBY_VERSION >= '1.9' | ||
|
||
|
||
# Puppetlabs is dropping support for Ruby 1.8.7 in latests releases, pin to last supported version when running on Ruby 1.8.7 | ||
gem 'puppetlabs_spec_helper', '2.0.2', :require => false if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9' | ||
gem 'puppetlabs_spec_helper', '>= 2.0.0', :require => false if RUBY_VERSION >= '1.9' | ||
gem 'parallel_tests', '<= 2.9.0', :require => false if RUBY_VERSION < '2.0.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Very basic test | ||
include vsftpd | ||
include ::vsftpd |