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

upgrade to Puppet 8 and PDK version to 3.4 #823

Open
wants to merge 124 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
3342f68
add parameter data types, fix whitespacing, remove legacy facts, remo…
Dec 20, 2024
e2b9c25
update linting rules
Dec 20, 2024
373df1c
added missing data types, removed optional when we defaulting things.…
Dec 20, 2024
3153b49
add default extensions
Dec 20, 2024
f54b860
optional param should not be optional if using default. prettied things
Dec 20, 2024
84ed1a2
now that we support Puppet 8, we should support stdlib v9. add lintin…
Dec 20, 2024
bdd7245
upgrade pdk version to 3.4
Dec 23, 2024
9231147
controlling versions of io-console (as 0.8 is built for Ruby 3.3) and…
Dec 23, 2024
c9a36a0
update the reference to concat to support later versions of stdlib
Jan 24, 2025
57681d7
update to new stdlib function
Jan 27, 2025
3ae9a1f
fixes requested by code review
Jan 27, 2025
cd105ea
remove deprecated function, moving to is_a
Jan 27, 2025
9b4023d
version comparison is working with a int not a string
Jan 27, 2025
7ae4422
making optional following code review
Jan 27, 2025
20176f8
revert versioncmp changes made by pdk validate
Jan 27, 2025
169150c
removing linting check for use of versioning as we use integers for v…
Jan 27, 2025
0b53595
update module dependencies to support Puppet 8
Jan 28, 2025
04dbd40
fixed class documentation and made params optional
Jan 28, 2025
d718c77
fix all optional references to undef calls. fix warnings about no cla…
Jan 28, 2025
1868a80
fix for unless command
Jan 28, 2025
daa8e2d
fix pdk validation warnings
fanny-jiang Jan 28, 2025
3c260f0
made sitename required
Jan 28, 2025
526174e
making url required.
Jan 28, 2025
896f7d2
correcting default on min collection interval
Jan 28, 2025
c1f6034
making check name required.
Jan 28, 2025
be91e8f
making host required
Jan 28, 2025
c49198a
making port required
Jan 28, 2025
cc59363
fix gemfile for ruby < 3.1 and puppet 7; bump bundler to v2.4.13 in CI
fanny-jiang Jan 28, 2025
06d6a0b
Merge remote-tracking branch 'contributor/xenon8/puppet-8-upgrade' in…
fanny-jiang Jan 29, 2025
56efc7f
update deps
fanny-jiang Jan 29, 2025
bd64797
exclude EOL versions from CI
fanny-jiang Jan 29, 2025
0217ada
update gemfile.lock and .gitignore
fanny-jiang Jan 29, 2025
23d62e6
Convert unless command into HereDoc command, fix issue where MSI path…
Jan 30, 2025
28a375c
Update to change log and version
Jan 30, 2025
5795855
fix config
fanny-jiang Jan 30, 2025
2e312cd
update ci specs
fanny-jiang Jan 31, 2025
bf6d375
use ruby 2.6+ puppet 6.5+ in ci
fanny-jiang Jan 31, 2025
e948616
remove gemfile.lock before installing bundler
fanny-jiang Jan 31, 2025
6f21b9c
clean up circleci, update gemfile.lock
fanny-jiang Jan 31, 2025
ce70621
rm .vscode
fanny-jiang Jan 31, 2025
0bb30c7
use ruby 2.7+ puppet 6.5+ in ci
fanny-jiang Jan 31, 2025
d049045
update Gemfile.lock
fanny-jiang Jan 31, 2025
b774e19
debug bundler version
fanny-jiang Jan 31, 2025
9e4ac83
add linux deps for ci
fanny-jiang Jan 31, 2025
b47a62b
config.yml cleanup
fanny-jiang Jan 31, 2025
dccc405
Merge pull request #1 from xenon8/fanny/CECO-1954/puppet8-fix-ci
xenon8 Feb 3, 2025
c66d751
review suggestions
fanny-jiang Feb 3, 2025
9043ccb
update gemfile.lock and target ruby version for rubocop
fanny-jiang Feb 3, 2025
4f40922
Merge pull request #2 from xenon8/fanny/followup
xenon8 Feb 4, 2025
60a7f40
merge changes from pr
Feb 4, 2025
f38805c
elastic search now uses tls_verify rather than ssl_verify. Breaking, …
Feb 4, 2025
86d5ec0
update change log inline with change suggested for tls_verify
Feb 4, 2025
85d7a16
update gem following vuln check
Feb 4, 2025
097fc0f
added back in missing comma
Feb 4, 2025
c34dd94
fix tls/ssl verify in tests
Feb 4, 2025
78c89eb
update kitchen tests
fanny-jiang Feb 6, 2025
84cf6b6
update kitchen ruby version
fanny-jiang Feb 6, 2025
daa5d99
update env/Gemfile
fanny-jiang Feb 6, 2025
0571d26
update env/Gemfile
fanny-jiang Feb 6, 2025
1710762
Merge branch 'xenon8/puppet-8-upgrade' into fanny/kitchen-tests-merge
fanny-jiang Feb 6, 2025
d0442d7
try using ruby v3.1
fanny-jiang Feb 6, 2025
4ed29cb
add more unit test specs and bump versions
fanny-jiang Feb 6, 2025
0926931
bump kitchen ubuntu and ruby versions
fanny-jiang Feb 6, 2025
12d1de4
use ubuntu2204 for kitchen tests
fanny-jiang Feb 6, 2025
15bcca3
workaround for tmp directory mounted noexec issue
fanny-jiang Feb 6, 2025
79707d3
use recursive chmod
fanny-jiang Feb 6, 2025
a2e6287
disable ruby v3.4 unit test specs
fanny-jiang Feb 6, 2025
ed26136
remove puppetserver and bump module deps
fanny-jiang Feb 6, 2025
83bebd1
remove puppetserver and bump module deps for kitchen tests
fanny-jiang Feb 6, 2025
0f0f50c
use ruby v3.3 for gemfile.lock test
fanny-jiang Feb 6, 2025
f1b3fc5
bump rexml and use serverspec as kitchen verifier
fanny-jiang Feb 7, 2025
58a6654
remove chmod /tmp
fanny-jiang Feb 7, 2025
729a6d6
revert kitchen changes -- being handled in PR #4
fanny-jiang Feb 7, 2025
4437ac7
add links to docs
fanny-jiang Feb 7, 2025
629acb2
Merge pull request #4 from xenon8/fanny/kitchen-tests-merge
xenon8 Feb 7, 2025
bd9e807
Merge pull request #6 from xenon8/fanny/add-integrations-docs
xenon8 Feb 7, 2025
cec1cb3
fix bug with $ not being escaped. Updated Change log with latest changes
Feb 7, 2025
cbcf4e7
remove custom metrics
Feb 7, 2025
df1dd9d
update to support sitename and url being required
Feb 7, 2025
74778a2
removed test for passing simple string with tags. It must be an array…
Feb 7, 2025
90ec8a0
fix issues for robocop
Feb 7, 2025
71fa1a0
add missing params section to http_check test
Feb 7, 2025
d77373d
add note about default value.
Feb 7, 2025
5e2ee26
updating defaults inline with class defaults.
Feb 7, 2025
24447ce
fix tests to match default values
Feb 7, 2025
9c5ec52
fix tcp checks given required params
Feb 7, 2025
721fc4b
correct test to provide correct datatype. corrected array to match da…
Feb 7, 2025
366f2ba
fixing incorrect change to test
Feb 7, 2025
9b76dd6
updating test to match default
Feb 7, 2025
7069f81
removing test, as check does not work however following test does che…
Feb 7, 2025
34c8d8f
fix regex check
Feb 7, 2025
b70b8a4
attempting to correctly reference the hash within the array of instances
Feb 7, 2025
f2c27d4
Merge branch 'xenon8/puppet-8-upgrade' into fanny/unit-tests
fanny-jiang Feb 7, 2025
45a6df2
remove puppet 6 unit test specs
fanny-jiang Feb 7, 2025
eb26444
bump windows orb
fanny-jiang Feb 7, 2025
e6c8ef8
The ganglia feature has been removed and not supported in Agent 6+
Feb 8, 2025
f242db0
tcp check's skip_event setting is no longer supported, so we have rem…
Feb 8, 2025
4143350
tcp check's collect response time is a boolean not a integer
Feb 8, 2025
5d73c61
Merge branch 'main' into xenon8/puppet-8-upgrade
Feb 8, 2025
62f9ba6
puppet_litmus v1 does not support ruby 3
Feb 8, 2025
6a12bf6
Merge pull request #5 from xenon8/fanny/unit-tests
xenon8 Feb 10, 2025
2ad62f8
adding in default fact to fix unit test
Feb 10, 2025
5c45a6b
correct fact syntax
Feb 10, 2025
8fafd07
move to non deprecated function for ensure_packages
Feb 10, 2025
2d49186
removed deprecated function validate_legacy. Improved error message
Feb 10, 2025
493c772
using a different syntax for fact to match rest of file
Feb 10, 2025
9220a94
fix(http-check): Allow multiple instances to be passed
nielstholenaar Feb 13, 2025
3d40a9f
Merge pull request #7 from nielstholenaar/hotfix/http-check-allow-mul…
xenon8 Feb 13, 2025
6450f94
fix tests
fanny-jiang Feb 14, 2025
5e3f941
fix tests
fanny-jiang Feb 14, 2025
a4c7b88
remove agent 5
fanny-jiang Feb 14, 2025
4b78abd
fix rubocop target ruby version
fanny-jiang Feb 14, 2025
25d62bb
remote --autocorrect from .rubocop
fanny-jiang Feb 14, 2025
8f44885
add facter and kitchen-puppet gems to kitchen gemfile, disable centos…
fanny-jiang Feb 14, 2025
3642387
temporarily disable rocky 9 kitchen tests
fanny-jiang Feb 14, 2025
ba41ecf
fix ubuntu kitchen tests
fanny-jiang Feb 14, 2025
5e14e3c
clean up doc as per markdown rules. add note about breaking change fo…
Feb 17, 2025
618647c
disable rubocop Style/HashSyntax for reporting events
fanny-jiang Feb 20, 2025
b9270cf
fix: Corrected type of service_enable param
nielstholenaar Feb 21, 2025
70e0240
Merge pull request #8 from xenon8/fanny/fix-tests
xenon8 Feb 24, 2025
c9c0c2e
Merge pull request #9 from nielstholenaar/hotfix/service-enable-type
xenon8 Feb 24, 2025
f5d7769
update to release notes
Feb 24, 2025
188d9fb
Merge branch 'xenon8/puppet-8-upgrade' of https://github.com/xenon8/p…
Feb 24, 2025
ed54015
Merge tag 'v3.24.0' into xenon8/puppet-8-upgrade
Feb 26, 2025
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
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@
/bin/
/doc/
/Gemfile.local
/Gemfile.lock
/junit/
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/*
/tmp/
/vendor/
/.vendor/
/convert_report.txt
/update_report.txt
spec/fixtures
Expand All @@ -33,3 +37,11 @@ environments/**/.vagrant

.kitchen
.vscode

/spec/fixtures/litmus_inventory.yaml
.resource_types
.modules
.task_cache.json
.plan_cache.json
.rerun.json
bolt-debug.log
17 changes: 15 additions & 2 deletions .pdkignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,43 @@
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/spec/fixtures/modules/*
/tmp/
/vendor/
/.vendor/
/convert_report.txt
/update_report.txt
.DS_Store
.project
.envrc
/inventory.yaml
/appveyor.yml
/spec/fixtures/litmus_inventory.yaml
.resource_types
.modules
.task_cache.json
.plan_cache.json
.rerun.json
bolt-debug.log
/.fixtures.yml
/Gemfile
/.gitattributes
/.github/
/.gitignore
/.gitlab-ci.yml

/.pdkignore
/.puppet-lint.rc
/Rakefile
/rakelib/
/.rspec
/.rubocop.yml
/.travis.yml
/..yml
/.yardopts
/spec/
/.vscode/
/.sync.yml
/.devcontainer/
/.github/
/.circleci/
/.pre-commit-config.yaml
Expand Down
11 changes: 10 additions & 1 deletion .puppet-lint.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
--fail-on-warnings
--relative
--no-80chars-check
--no-140chars-check
--fail-on-warnings
--no-class_inherits_from_params_class-check
--no-autoloader_layout-check
--no-parameter_documentation-check
--no-single_quote_string_with_variables-check
--no-params_empty_string_assignment-check
--no-lookup_in_parameter-check
--no-top_scope_facts-check
--ignore-paths=.vendor/**/*.pp,.bundle/**/*.pp,pkg/**/*.pp,spec/**/*.pp,tests/**/*.pp,types/**/*.pp,vendor/**/*.pp
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--format documentation
Loading