Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove puppet 3 testing, add puppet 5 testing #31

Merged
merged 2 commits into from Jul 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -14,9 +14,7 @@ script: bundle exec rake test
matrix:
fast_finish: true
include:
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES=yes
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES=yes FUTURE_PARSER=yes
- rvm: 2.3.1
env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES=yes
- rvm: 2.4.1
env: PUPPET_GEM_VERSION="~> 5.0" STRICT_VARIABLES=yes
8 changes: 8 additions & 0 deletions spec/defines/vhost_spec.rb
@@ -1,6 +1,10 @@
require 'spec_helper'

describe 'certs::vhost' do
let (:pre_condition) {
"service {'httpd': ensure => running}"
}

let(:title) { 'www.example.com' }
let(:params) do
{
Expand Down Expand Up @@ -38,6 +42,10 @@
end

context 'with service => nginx' do
let (:pre_condition) {
"service {'nginx': ensure => running}"
}

let(:params) do
{
:source_path => 'puppet:///othermodule',
Expand Down