The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
Type and provider for managing windows environment, especially PATH
|Affected Puppet version:||Branch:|
|Keywords:||windows env environment path|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
The windows system environment is stored in the registry. We should have a type and provider to make it easy to ensure present/absent individual entries.
In particular, PATH is one of the environment variables, which is actually a list of directories, each of which may refer to other environment variables, e.g. %WINDIR%\system32. It is currently difficult to express that a particular entry should be present in the PATH.
The type should allow the complete list of paths to be ensure present, or a set of paths to be added (similar to the inclusive/exclusive behavior of property lists). https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/68ebrAEUzgQ
There’s also the issue of making the system PATH change take affect without rebooting. http://mnaoumov.wordpress.com/2012/07/24/powershell-add-directory-to-environment-path-variable/
#2 Updated by Josh Cooper over 3 years ago
But watch out for ANSI/Unicode, so make need to broadcast both: http://stackoverflow.com/questions/4968373/why-doesnt-sendmessagetimeout-update-the-environment-variables