Skip to content

fix deprecation warning on openvox 9 server, reference and rubocop - #1096

Merged
trefzer merged 3 commits into
voxpupuli:masterfrom
cirrax:dev_fix_env
Oct 10, 2026
Merged

trefzer merged 3 commits into
voxpupuli:masterfrom
cirrax:dev_fix_env

Conversation

@trefzer

@trefzer trefzer commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

openvox-server 9 started deprecation of Puppet::Util.get_env and Puppet::Util.set_env resulting in a deprecation warning on every puppet run.

We will now use ENV[] directly as proposed in the warning.

Warning messages:

Warning: Puppet::Util.get_env is deprecated and will be removed in a future version. Use ENV[] directly instead.
   (location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:47:in 'Puppet::Util#get_env')
Warning: Puppet::Util.set_env is deprecated and will be removed in a future version. Use ENV[]= directly instead.
   (location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:71:in 'Puppet::Util#set_env')

openvox-server 9 started deprecation of Puppet::Util.get_env and
Puppet::Util.set_env resulting in a deprecation warning on every puppet run.

We will now use ENV[] directly as proposed in the warning.
@trefzer trefzer changed the title fix deprecation warning on openvox 9 server fix deprecation warning on openvox 9 server, fix reference, fix rubocop Oct 10, 2026
@trefzer trefzer changed the title fix deprecation warning on openvox 9 server, fix reference, fix rubocop fix deprecation warning on openvox 9 server, reference and rubocop Oct 10, 2026
@trefzer
trefzer merged commit c98127a into voxpupuli:master Oct 10, 2026
19 checks passed
@trefzer
trefzer deleted the dev_fix_env branch October 10, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants