Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency rspec-puppet-facts to v5 #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tradeshift-renovate[bot]
Copy link

This PR contains the following updates:

Package Update Change
rspec-puppet-facts major '>= 1.10.0' -> '>= 5.0.0'

Release Notes

voxpupuli/rspec-puppet-facts (rspec-puppet-facts)

v5.0.0

Compare Source

Full Changelog

Breaking changes:

Implemented enhancements:

Fixed bugs:

Merged pull requests:

v4.0.0

Compare Source

Full Changelog

Breaking changes:

Implemented enhancements:

Merged pull requests:

v3.0.0

Compare Source

Full Changelog

symbolized facts deprecation

With the release of rspec-puppet-facts 6.0.0 we will remove support for symbolized facts. At the moment people typically use this in their unit files:

on_supported_os.each do |os, os_facts|
  case os_facts[:os]['name']
  when 'Archlinux'
    context 'on Archlinux' do
      it { is_expected.to contain_package('borg') }
    end
  when 'Ubuntu'
  end
end

For history reasons the first level of facts were symbols. You will have to update it to strings with the 6.0.0 release:

on_supported_os.each do |os, os_facts|
  case os_facts['os']['name']
  when 'Archlinux'
    context 'on Archlinux' do
      it { is_expected.to contain_package('borg') }
    end
  when 'Ubuntu'
  end
end

As an alternative you can configure the old behaviour:

RSpec.configure do |c|
  c.facterdb_string_keys = false
end

Breaking changes:

Implemented enhancements:

Merged pull requests:

v2.0.5

Compare Source

Full Changelog

Fixed bugs:

v2.0.4

Compare Source

Full Changelog

Fixed bugs:

Merged pull requests:

v2.0.3

Compare Source

Full Changelog

Merged pull requests:

v2.0.2

Compare Source

Full Changelog

Implemented enhancements:

Merged pull requests:

v2.0.1

Compare Source

Full Changelog

Closed issues:

Merged pull requests:

v2.0.0

Compare Source

  • Require Ruby >= 2.4
  • Automatically find the latest facter version in the database. Previously a
    very slow and undeterministic approach was taken when an exact match of the
    Facter version wasn't found.. The new approach is to take the closest version
    that is still older than the specified version.
  • Fix Amazon Linux 2 fact lookup
  • Log which facts could not be found
  • Remove json as a dependency

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant