repositories:
"stdlib":
"repo": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
- "ref": "4.5.0"
symlinks:
"apt": "#{source_dir}"
docker_sets:
- set: docker/ubuntu-14.04
- set: docker/debian-8
+
+spec/spec_helper.rb:
+ allow_deprecations: true
"project_page": "https://github.com/puppetlabs/puppetlabs-apt",
"issues_url": "https://tickets.puppetlabs.com/browse/MODULES",
"dependencies": [
- {"name":"puppetlabs/stdlib","version_requirement":">= 4.5.0 < 5.0.0"}
+ {"name":"puppetlabs/stdlib","version_requirement":">= 4.13.0 < 5.0.0"}
],
"operatingsystem_support": [
{
context 'with priority=1.2' do
let(:params) { default_params.merge({ :priority => 1.2 }) }
- it do
- expect { subject.call }.to raise_error(Puppet::Error, /be an integer /)
- end
+ it { is_expected.to compile.and_raise_error(/input needs to be a String/) }
end
end
#This file is generated by ModuleSync, do not edit.
require 'puppetlabs_spec_helper/module_spec_helper'
-if Puppet.version.to_f >= 4.5
- RSpec.configure do |c|
- c.before :each do
- Puppet.settings[:strict] = :error
- end
- end
-end
-
# put local configuration and setup into spec_helper_local
begin
require 'spec_helper_local'
hosts.each do |host|
copy_module_to(host, :source => proj_root, :module_name => 'apt')
shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
- on host, puppet('module install puppetlabs-stdlib --version 4.5.0'), { :acceptable_exit_codes => [0,1] }
+ on host, puppet('module install puppetlabs-stdlib --version 4.13.1')
end
end
end