diff --git a/lib/pdk/version.rb b/lib/pdk/version.rb index dfb5aa193..a9ff0b490 100644 --- a/lib/pdk/version.rb +++ b/lib/pdk/version.rb @@ -1,4 +1,4 @@ module PDK VERSION = '3.0.1'.freeze - TEMPLATE_REF = '3.0.1'.freeze + TEMPLATE_REF = '3.0.1.1'.freeze end diff --git a/package-testing/spec/package/update_module_spec.rb b/package-testing/spec/package/update_module_spec.rb index 8b74c2d81..b2547e86d 100644 --- a/package-testing/spec/package/update_module_spec.rb +++ b/package-testing/spec/package/update_module_spec.rb @@ -23,17 +23,6 @@ create_remote_file(get_working_node, File.join(module_dir, 'metadata.json'), metadata.to_json) sync_yaml = YAML.safe_load(URI.open("https://raw.githubusercontent.com/#{mod}/main/.sync.yml").read) - - sync_yaml['Gemfile'].each_key do |gem_type| - next unless sync_yaml['Gemfile'][gem_type].respond_to?(:each_key) - - sync_yaml['Gemfile'][gem_type].each_key do |group| - sync_yaml['Gemfile'][gem_type][group].select! do |gem| - gem['gem'] =~ /\Apuppet-module-(?:posix|win)-system/ - end - end - end - create_remote_file(get_working_node, File.join(module_dir, '.sync.yml'), sync_yaml.to_yaml) end diff --git a/package-testing/spec/package/version_selection_spec.rb b/package-testing/spec/package/version_selection_spec.rb index a403c438c..7a9294e20 100644 --- a/package-testing/spec/package/version_selection_spec.rb +++ b/package-testing/spec/package/version_selection_spec.rb @@ -6,8 +6,8 @@ # test cases to pass. If you are running integration testing prior to a release and its failing due to missing Puppet # gems, verify that the following versions are correct. test_cases = [ - { envvar: 'PDK_PUPPET_VERSION', version: '7.28.0', expected_puppet: '7.28.0', expected_ruby: '2.7.8' }, - { envvar: 'PDK_PUPPET_VERSION', version: '8.4.0', expected_puppet: '8.4.0', expected_ruby: '3.2.2' } + { envvar: 'PDK_PUPPET_VERSION', expected_puppet: '7.29.1', expected_ruby: '2.7.8' }, + { envvar: 'PDK_PUPPET_VERSION', expected_puppet: '8.5.1', expected_ruby: '3.2.2' } ] before(:all) do @@ -15,8 +15,8 @@ end test_cases.each do |test_case| - context "Select Puppet #{test_case[:version]}" do - let(:env) { { test_case[:envvar] => test_case[:version] } } + context "Select Puppet #{test_case[:expected_puppet]}" do + let(:env) { { test_case[:envvar] => test_case[:expected_puppet] } } let(:cwd) { module_name } let(:expected_puppet) { Regexp.escape(test_case[:expected_puppet]) }