Issue #16048 has been updated by Josh Cooper.

Tracker changed from Bug to Feature


----------------------------------------
Feature #16048: Type and provider for managing windows environment, especially 
PATH
https://projects.puppetlabs.com/issues/16048#change-73436

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: 
Category: provider
Target version: 
Affected Puppet version: 
Keywords: windows env environment path
Branch: 


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/>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to