(PA-5337) Update PE mappings for puppet8
This commit adds mappings for Puppet Enterprise 2023.3 to puppet8.
Merge pull request #654 from mhashizume/PA-5337/main/pe-integration
(PA-5337) PE integration
Merge pull request #655 from shubhamshinde360/PA-5287
(PA-5287) Remove MAC OS 10.15 support
(maint) Switch from is_function_available() to defined()
stdlib 9 dropped the is_function_available() function. I reworked the code to check if `pe_anchor` is defined. The code now works with Puppet core functions and is compatible with Puppet 7/8, probably 6, and does not rely on stdlib.
Merge pull request #659 from skyamgarp/PA-5309
(PA-5309) Add macOS 13 (ARM) to the puppet_agent module task
(PA-5691) Add missing puppet settings to config_setting.pp
This commit updates config_setting.pp and adds any missing puppet 7.x and 8.x settings. Some puppet 8.x specific settings, like `ca_refresh_interval` are being added. The agent will ignore any settings it does not understand/support.
Merge pull request #657 from bastelfreak/stdlib9
Implement stdlib 9 compatibility
Merge pull request #661 from AriaXLi/PA-5691/add_missing_puppet_settings
(PA-5691) Add missing puppet settings to config_setting.pp
(maint) Delete duplicate tests
This code was last updated in Oct 2020 and all this time we've been testing "upgrades" from 7.x to 5.5.21. This only recently started to fail when stdlib v9 was released as the root_home fact uses Ruby syntax that's not valid in Puppet 5/Ruby 2.1.9. It's not practical to update the upgrade tests after each release. And we already test upgrades and idempotency in the acceptance/tests/*, so delete these tests.
(maint) Initially manage puppet before testing
This changes the class_spec to initally manage puppet; puppet 7 and puppet 8 both are not enabled or running after installation, so there could be a bug in the initscripts somewhere or this was never actually a feature but a bug in how the tests were run.
Merge pull request #664 from joshcooper/delete_dup_test
(maint) Delete duplicate test
(maint) Make spec tests pass on windows
Windows requires the current puppet collection to be specified in the puppet_agent class, so that is refactored to be globally specified in the `spec_helper_acceptance`. Additionally, logic and mocking was added to specifiy default install paths for the VERSION file for both linux and windows.
Merge pull request #665 from tvpartytonight/make_acceptance_work_on_w…
…indows (maint) Make spec tests pass on windows
(PA-5721) Add support for puppet8
AIX 7.1 is not supported in puppet8 and will be removed from puppet7 in the near future.
Merge pull request #666 from joshcooper/aix72_5721
(PA-5721) Add puppet8 and drop puppet5 support from AIX
This commit updates and applies the 2.7.5 PDK template to prepare for the v1.15.0 release and make using the GitHub Changelog Generator easier.
When updating the module to PDK 2.7.5, the Vox Beaker gem was removed. puppetlabs_spec_helper updated and the updated version removed the Beaker rake task which is used for acceptance testing. This commit adds the voxpupuli-acceptance gem which re-adds the Beaker rake task.
(maint) puppet-strings validate check
This commit includes all the changes needed to pass the validate rake/check which checks if the module adheres to the Puppet Strings style.
This commit blocks the top_scope_facts, only_variable_string, and
strinct_indent lint check for portions of manifests/install/windows.pp,
manifests/osfamily/redhat.pp, and manifests/osfamily/suse.pp respectively.
For the top_scope_facts, the check keeps on thinking
`puppet_agent::_expected_package_version` in windows.pp is a fact. For the
only_variable_string, when I try to remove the double quotes from
`"${facts['os']['release']['major']}"`, the conditional no longer works as
expected in redhat.pp. Lastly, for the strict_indent check, it thinks the
indentation for $script in redhat.pp and suse.pp is wrong but it is not.(maint) Disable puppet-lint/disable_puppet_url_without_modules
Currentlty, the puppet_url_without_modules assumes all puppet:/// URLs are using the modules mount. pe_packages is a custom mount and does not use the modules mount.
Merge pull request #663 from AriaXLi/pdk-update
(maint) PDK Update 2.7.5
(maint) Update commits.rake to check for "Release prep"
Currently, the "Static Code Analysis / Run checks" will fail on release prep PRs because the check does not include "Release prep". This commit updates the commits Rake task to check for "Release prep" in the PR title/name.
Merge pull request #669 from AriaXLi/maint_update_commits_rake
(maint) Update commits.rake to check for "Release prep"
Merge pull request #668 from puppetlabs/release-prep
Release prep v4.15.0