Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Allow installation from OS packages #88

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 9 additions & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,16 @@ before_install:
- rm -f Gemfile.lock

rvm:
- "2.0.0"
- "2.1.9"
- "2.2.5"
- "2.3.3"

env:
- PUPPET_VERSION="~> 3.7.0"
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_VERSION="~> 3.5.0"
- PUPPET_VERSION="~> 3.4.0"
- PUPPET_VERSION="~> 3.3.0"
- PUPPET_VERSION="~> 3.2.0"

matrix:
exclude:
# No support for Ruby 2.0 before Puppet 3.2
- rvm: 2.0.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.0.0
env: PUPPET_VERSION="~> 3.0.0"
- rvm: 2.0.0
env: PUPPET_VERSION="~> 3.1.0"
# Puppet < 3.5.0 is broken under ruby 2.1 https://tickets.puppetlabs.com/browse/PUP-1243
- rvm: 2.1.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.0.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.1.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.2.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.3.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.4.0"
- PUPPET_VERSION="~> 4.9.4"
- PUPPET_VERSION="~> 4.8.2"
- PUPPET_VERSION="~> 4.7.1"
- PUPPET_VERSION="~> 4.6.2"
- PUPPET_VERSION="~> 3.8.7"

deploy:
provider: puppetforge
Expand All @@ -49,4 +27,4 @@ deploy:
# all_branches is required to use tags
all_branches: true
# Only publish if our main Ruby target builds
condition: "$PUPPET_VERSION = '~> 3.6.0'"
condition: "$PUPPET_VERSION = '~> 3.8.7'"
36 changes: 26 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
# This file is managed centrally by modulesync
# https://github.com/maestrodev/puppet-modulesync

source 'https://rubygems.org'
source ENV['GEM_SOURCE'] || "https://rubygems.org"

gem 'puppet', ENV['PUPPET_VERSION'] || '>= 2.7', :require => false
ENV['PUPPET_VERSION'].nil? ? puppetversion = '~>3.8.7' : puppetversion = ENV['PUPPET_VERSION'].to_s
gem 'puppet', puppetversion, :require => false, :groups => [:test]
gem 'safe_yaml', '~> 1.0.4'

group :test do
gem 'puppetlabs_spec_helper', '~> 2.0.1', :require => false
gem 'parallel_tests', :require => false
gem 'rspec-puppet', '~> 2.5', :require => false
gem 'rspec-puppet-facts', :require => false
gem 'rspec-puppet-utils', :require => false
gem 'puppet-lint-absolute_classname-check', :require => false
gem 'puppet-lint-leading_zero-check', :require => false
gem 'puppet-lint-trailing_comma-check', :require => false
gem 'puppet-lint-version_comparison-check', :require => false
gem 'puppet-lint-classes_and_types_beginning_with_digits-check', :require => false
gem 'puppet-lint-unquoted_string-check', :require => false
gem 'puppet-lint-variable_contains_upcase', :require => false
gem 'metadata-json-lint', :require => false
gem 'simplecov-console', :require => false
gem 'coveralls', :require => false
gem 'rake', :require => false
gem 'puppet-blacksmith', :require => false
gem 'librarian-puppet', :require => false
gem 'beaker-rspec', :require => false
end

gem 'rake', :require => false
gem 'rspec-puppet', '>= 1.0.0', :require => false
gem 'puppetlabs_spec_helper', '>= 0.8.0', :require => false
gem 'puppet-lint', '>= 1.1.0', :require => false
gem 'simplecov', :require => false
gem 'puppet-blacksmith', '>= 3.3.1', :require => false
gem 'librarian-puppet', '>= 2.0.0', :require => false
gem 'beaker-rspec', '>= 3.0.0', :require => false

# vim:ft=ruby
Loading