Skip to content

Commit

Permalink
upgrade to PDK 3.4.0
Browse files Browse the repository at this point in the history
set pdk version to '~> 3.4', so we can get any releases until 4.0 without a change to Gemfile or .sync.yml
  • Loading branch information
rrotter committed Dec 13, 2024
1 parent 02cb195 commit 362c035
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gemfile:
- gem: faker
- gem: librarian-puppet
- gem: pdk
version: 3.3.0
version: '~> 3.4'
spec/default_facts.yml:
extra_facts:
ec2_tag_role: nebula::role::aws
Expand Down
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ group :development do
gem "rexml", '>= 3.0.0', '< 3.2.7', require: false
gem "faker", require: false
gem "librarian-puppet", require: false
gem "pdk", '3.3.0', require: false
gem "pdk", '~> 3.4', require: false
end
group :development, :release_prep do
gem "puppet-strings", '~> 4.0', require: false
gem "puppetlabs_spec_helper", '~> 7.0', require: false
gem "puppetlabs_spec_helper", '~> 8.0', require: false
gem "puppet-blacksmith", '~> 7.0', require: false
end
group :system_tests do
gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw]
Expand Down
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ require 'puppet-syntax/tasks/puppet-syntax'
require 'puppet-strings/tasks' if Gem.loaded_specs.key? 'puppet-strings'

PuppetLint.configuration.send('disable_relative')
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_140chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_autoloader_layout')
PuppetLint.configuration.send('disable_documentation')
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.ignore_paths = [".vendor/**/*.pp", ".bundle/**/*.pp", "pkg/**/*.pp", "spec/**/*.pp", "tests/**/*.pp", "types/**/*.pp", "vendor/**/*.pp"]

6 changes: 3 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"version_requirement": ">= 7.0.0 < 9.0.0"
}
],
"pdk-version": "3.3.0",
"template-url": "https://github.com/puppetlabs/pdk-templates#3.3.0",
"template-ref": "tags/3.3.0-0-g5d17ec1"
"pdk-version": "3.4.0",
"template-url": "https://github.com/puppetlabs/pdk-templates#3.4.0",
"template-ref": "tags/3.4.0-0-gd3cc13f"
}

0 comments on commit 362c035

Please sign in to comment.