Dear recipe builders,
I know I can set ephemeral environment variables via
ENV['foo']='bar' but how do I “unset” an environment variable I’ve previously set, in Ruby/Chef?
I know I can use the bash command
unset to wipe the value for an existing env variable, but I was wondering if this indeed will be active throughout the remainder of the chef-client execution.
I know I can also probably do
ENV['foo']='' but just checking if there is a more elegant way possibly.