Closed sgnn7 closed 4 years ago
Since this is now changed to DEFAULT_ENV, we now create the old function alias to retain functionality.
DEFAULT_ENV
Bug: https://github.com/rodjek/rspec-puppet/issues/796 Upstream: https://github.com/puppetlabs/puppet/blob/94df3c1a3992d89b2d7d5db8a70373c135bdd86b/lib/puppet/util.rb
Coverage increased (+0.03%) to 85.452% when pulling 73fbbe2f1c5214cbcfad81e0a6af9de08bcf1f50 on sgnn7:796-fix-puppet-monkeypatch into 6e35e920f84f6e72de108ece3a8e7ffc399fda87 on rodjek:master.
Tested this locally and it allows pdk test unit to run successfully on my test module.
pdk test unit
Since this is now changed to
DEFAULT_ENV
, we now create the old function alias to retain functionality.Bug: https://github.com/rodjek/rspec-puppet/issues/796 Upstream: https://github.com/puppetlabs/puppet/blob/94df3c1a3992d89b2d7d5db8a70373c135bdd86b/lib/puppet/util.rb