diff --git a/Gemfile b/Gemfile index 4b35d33366..17b1b8651a 100644 --- a/Gemfile +++ b/Gemfile @@ -21,6 +21,11 @@ gem "puppetlabs_spec_helper", git: 'https://github.com/puppetlabs/puppetlabs_spec_helper.git', ref: '96a633ebf1a1e88062bf726d4271a3251baf082e' +gem "puppet-resource_api", + git: 'https://github.com/DavidS/puppet-resource_api.git', + ref: 'pup-9747-bolt-attribute-filtering' + + group(:test) do gem "beaker-hostgenerator" gem "gettext-setup", '~> 0.28', require: false diff --git a/spec/integration/device_spec.rb b/spec/integration/device_spec.rb index 7121154665..65692e0197 100644 --- a/spec/integration/device_spec.rb +++ b/spec/integration/device_spec.rb @@ -68,7 +68,6 @@ def agent_version_inventory end it 'runs a plan that collects facts' do - pending "puppet-resource_api 1.8.3 has incorrect validation that causes these tests to fail" with_tempfile_containing('inventory', YAML.dump(device_inventory), '.yaml') do |inv| results = run_cli_json(%W[plan run device_test::facts --nodes device_targets --modulepath #{modulepath} --inventoryfile #{inv.path}]) @@ -82,7 +81,6 @@ def agent_version_inventory end it 'runs a plan that applies resources' do - pending "puppet-resource_api 1.8.3 has incorrect validation that causes these tests to fail" with_tempfile_containing('inventory', YAML.dump(device_inventory), '.yaml') do |inv| results = run_cli_json(%W[plan run device_test::set_a_val --nodes device_targets