Skip to content

Commit

Permalink
Puppet 5 and latest puppetlabs_spec_helper is more stringent about ca…
Browse files Browse the repository at this point in the history
…talog contents

  Add the httpd or nginx service as required.
  • Loading branch information
rnelson0 committed Jul 1, 2017
1 parent ef03e8c commit 86b8142
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/defines/vhost_spec.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 86b8142

Please sign in to comment.