Sha256: 16d18d38c75086f364d879329b5cb4c86b7c13cfdd2ce73b5f518c2a1b4bf1da

Contents?: true

Size: 942 Bytes

Versions: 3

Compression:

Stored size: 942 Bytes

Contents

require 'puppetlabs_spec_helper/module_spec_helper'
require 'rspec-puppet-utils'
require 'rspec_junit_formatter'

RSpec.configure do |c|
  # Also add JUnit output in case people want to use that
  c.add_formatter('RSpecJUnitFormatter','<%= repo.tempdir %>/spec.xml')

  c.parser                = 'future'
  c.formatter             = 'documentation'
  c.trusted_server_facts  = true
  c.environmentpath       = '<%= environmentpath %>'
  c.module_path           = '<%= modulepath %>'
<% if repo.hiera_config_file_relative_path %>
  c.hiera_config          = '<%= environmentpath %>/production/<%= repo.hiera_config_file_relative_path %>'
<% end -%>
  c.manifest              = '<%= repo.temp_manifest %>'
  ENV['STRICT_VARIABLES'] = '<%= self.strict_variables %>'
<% if ENV['SHOW_PUPPET_OUTPUT'] and ENV['SHOW_PUPPET_OUTPUT'].downcase == 'true' %>
  Puppet::Util::Log.level = :debug
  Puppet::Util::Log.newdestination(:console)
<% end -%>
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
onceover-3.9.0 templates/spec_helper.rb.erb
onceover-3.8.0 templates/spec_helper.rb.erb
onceover-3.7.0 templates/spec_helper.rb.erb