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

Fix rspec tests #837

Draft
wants to merge 8 commits into
base: xenon8/puppet-8-upgrade
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .rubocop
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
--ignore-unrecognized-cops
--autocorrect
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require:
AllCops:
NewCops: enable
DisplayCopNames: true
TargetRubyVersion: '2.6'
TargetRubyVersion: '3.3'
Include:
- "**/*.rb"
Exclude:
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ group :development do
gem "voxpupuli-puppet-lint-plugins", '~> 4.0', require: false
gem "dependency_checker", '= 0.3.0', require: false
else
gem "facterdb", '~> 2.1', require: false
gem "facterdb", '~> 3.4.0', require: false
gem "test-kitchen", '~> 3.7.0'
gem "rubocop", '~> 1.50.0', require: false
gem "rubocop-rspec", '= 2.19.0', require: false
gem "rspec-puppet-facts", '~> 4.0', require: false
gem "rspec-puppet-facts", '~> 5.2.0', require: false
gem "rubocop-performance", '= 1.16.0', require: false
gem "librarian-puppet", '~> 5.0'
gem "io-console", '= 0.7.2', require: false
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ GEM
facter (4.10.0)
hocon (~> 1.3)
thor (>= 1.0.1, < 1.3)
facterdb (2.1.0)
facterdb (3.4.0)
facter (< 5.0.0)
jgrep (~> 1.5, >= 1.5.4)
faraday (2.12.2)
Expand Down Expand Up @@ -366,10 +366,10 @@ GEM
rspec-support (~> 3.13.0)
rspec-puppet (5.0.0)
rspec (~> 3.0)
rspec-puppet-facts (4.0.0)
rspec-puppet-facts (5.2.0)
deep_merge (~> 1.2)
facter (< 5)
facterdb (~> 2.1)
facterdb (~> 3.1)
puppet (>= 7, < 9)
rspec-support (3.13.2)
rsync (1.0.9)
Expand Down Expand Up @@ -526,7 +526,7 @@ DEPENDENCIES
bcrypt_pbkdf (= 1.0.1)
deep_merge (~> 1.2.2)
dependency_checker (~> 1.0.0)
facterdb (~> 2.1)
facterdb (~> 3.4.0)
io-console (= 0.7.2)
json (= 2.6.3)
kitchen-docker (~> 3.0.0)
Expand All @@ -545,7 +545,7 @@ DEPENDENCIES
puppetlabs_spec_helper (~> 8.0)
rb-readline (= 0.5.5)
rexml (~> 3.4.0)
rspec-puppet-facts (~> 4.0)
rspec-puppet-facts (~> 5.2.0)
rubocop (~> 1.50.0)
rubocop-performance (= 1.16.0)
rubocop-rspec (= 2.19.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/reports/datadog_reports.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def process
msg_title: event_title,
event_type: 'config_management.run',
event_object: @msg_host,
alert_type: alert_type,
alert_type:,
priority: event_priority,
source_type_name: 'puppet',
tags: dog_tags),
Expand Down
Loading
Loading