]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(CONT-173) - Updating deprecated facter instances cont-173/main/updating_deprecated_facter
authorjordanbreen28 <jordan.breen@perforce.com>
Thu, 13 Oct 2022 12:39:26 +0000 (13:39 +0100)
committerjordanbreen28 <jordan.breen@perforce.com>
Fri, 21 Oct 2022 08:33:04 +0000 (09:33 +0100)
commit70d935ca392b3fb929a335bcf66e59aeba8cde11
tree62773cf0d2c9589f44116cf228bc69a480c47913
parentc9eed8a3d9cc8f2cfa465e2c243b67117cfc5734
(CONT-173) - Updating deprecated facter instances

Prior to this PR, this module contained instances of Facter::Util::Resolution.exec and Facter::Util::Resolution.which, which are deprecated.
This PR aims to replace these exec helpers with their supported Facter::Core::Execution counterparts.

This PR:

Replaced all Facter::Util::Resolution instances with corresponding Facter::Core::Execution exec helpers
lib/facter/ip6tables_version.rb
lib/facter/iptables_persistent_version.rb
lib/facter/iptables_version.rb
spec/unit/facter/iptables_persistent_version_spec.rb
spec/unit/facter/iptables_spec.rb