Skip to content

Commit 8c06890

Browse files
authored
Merge pull request #319 from voxpupuli/modulesync
modulesync 7.0.0
2 parents d38f776 + 4ff1892 commit 8c06890

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

.github/CONTRIBUTING.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,18 +232,21 @@ simple tests against it after applying the module. You can run this
232232
with:
233233

234234
```sh
235-
BEAKER_setfile=debian11-64 bundle exec rake beaker
235+
BEAKER_PUPPET_COLLECTION=puppet7 BEAKER_setfile=debian11-64 bundle exec rake beaker
236236
```
237237

238-
You can replace the string `debian10` with any common operating system.
238+
You can replace the string `debian11` with any common operating system.
239239
The following strings are known to work:
240240

241-
* ubuntu1804
242241
* ubuntu2004
243-
* debian10
242+
* ubuntu2204
244243
* debian11
245244
* centos7
246245
* centos8
246+
* centos9
247+
* almalinux8
248+
* almalinux9
249+
* fedora36
247250

248251
For more information and tips & tricks, see [voxpupuli-acceptance's documentation](https://github.com/voxpupuli/voxpupuli-acceptance#running-tests).
249252

.msync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Managed by modulesync - DO NOT EDIT
33
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
44

5-
modulesync_config_version: '6.0.0'
5+
modulesync_config_version: '7.0.0'

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
55

66
group :test do
7-
gem 'voxpupuli-test', '~> 6.0', :require => false
7+
gem 'voxpupuli-test', '~> 7.0', :require => false
88
gem 'coveralls', :require => false
99
gem 'simplecov-console', :require => false
1010
gem 'puppet_metadata', '~> 3.0', :require => false

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
add_custom_fact name.to_sym, value
1818
end
1919
end
20+
Dir['./spec/support/spec/**/*.rb'].sort.each { |f| require f }

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
require 'voxpupuli/acceptance/spec_helper_acceptance'
77

8-
configure_beaker
8+
configure_beaker(modules: :metadata)
99

1010
Dir['./spec/support/acceptance/**/*.rb'].sort.each { |f| require f }

spec/unit/unbound/facter/unbound_version_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
allow(Facter::Util::Resolution).to receive(:which).with('unbound').and_return(false)
3131
end
3232

33-
it { expect(Facter.fact(:unbound_version).value).to eq(nil) }
33+
it { expect(Facter.fact(:unbound_version).value).to be_nil }
3434
end
3535

3636
tests.each_pair do |test, versions|
@@ -50,7 +50,7 @@
5050
if test == 'valid'
5151
it { expect(Facter.fact(:unbound_version).value).to eq(version) }
5252
else
53-
it { expect(Facter.fact(:unbound_version).value).to eq(nil) }
53+
it { expect(Facter.fact(:unbound_version).value).to be_nil }
5454
end
5555
end
5656
end

0 commit comments

Comments
 (0)