Skip to content

Commit

Permalink
(maint) Merge branch '3.x' into 'main'
Browse files Browse the repository at this point in the history
Conflicts:
  - lib/r10k/version.rb
  • Loading branch information
justinstoller committed Mar 25, 2024
2 parents cf022a0 + 9725e26 commit 94cf3ee
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,39 @@ Unreleased
- (RK-386) Remove deprecated `bare` environment type. [#1235](https://github.com/puppetlabs/r10k/issues/1235)


3.16.1
------

- Make metadata loading during incremental deploys more robust [PE-34917](https://perforce.atlassian.net/browse/PE-34917)
- Use the production forge for integration testing

3.16.0
------

- Emit more debug output when modules fail to sync [#1347](https://github.com/puppetlabs/r10k/pull/1347)
- Update GitHub Actions & introduce dependabot [#1337](https://github.com/puppetlabs/r10k/pull/1337)
- Update R10K proxy usage to follow newer rugged best practices [PE-35980](https://tickets.puppet.com/browse/PE-35980)
- Update Acceptance tests to be compatible with Puppet 8 [#1349](https://github.com/puppetlabs/r10k/pull/1349)

3.15.4
------

- Pin dependencies to maintain support for old Ruby versions [#1329](https://github.com/puppetlabs/r10k/pull/1329)

3.15.3
------

- Fix dirty working copy debug logging [#1321](https://github.com/puppetlabs/r10k/pull/1321)
- Allow gettext-setup < 2 for compatibility with Ruby 3.2 and Puppet 8 [#1325](https://github.com/puppetlabs/r10k/pull/1325)

3.15.2
------

- Implement exclude regex for puppetfile install [#1248](https://github.com/puppetlabs/r10k/issues/1248)

3.15.1
------

- Add TOC to configuration docs [#1298](https://github.com/puppetlabs/r10k/issues/1298)
- Remove the spec folder from gemspec [#1316](https://github.com/puppetlabs/r10k/issues/1316)

Expand Down
2 changes: 1 addition & 1 deletion integration/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ rototiller_task :beaker_hostgenerator do |t|
# This is a hack :(
t.add_flag(:name => '', :default => 'centos7-64mdca-64.fa', :override_env => 'TEST_TARGET')

t.add_flag(:name => '--global-config', :default => '{forge_host=forge-aio01-petest.puppetlabs.com}', :override_env => 'BHG_GLOBAL_CONFIG')
t.add_flag(:name => '--global-config', :default => '{forge_host=forgeapi.puppet.com}', :override_env => 'BHG_GLOBAL_CONFIG')
end
end

Expand Down
5 changes: 4 additions & 1 deletion lib/r10k/module_loader/puppetfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,11 @@ def load_metadata!
@existing_module_versions_by_name = @existing_module_metadata.map {|mod| [ mod.name, mod.version ] }.to_h
empty_load_output.merge(modules: @existing_module_metadata)

rescue SyntaxError, LoadError, ArgumentError, NameError => e
rescue ScriptError, StandardError => e
logger.warn _("Unable to preload Puppetfile because of %{msg}" % { msg: e.message })

@existing_module_metadata = []
@existing_module_versions_by_name = {}
end

def add_module_metadata(name, info)
Expand Down

0 comments on commit 94cf3ee

Please sign in to comment.