salt.states.win_path¶
Manage the Windows System PATH
-
salt.states.win_path.
absent
(name)¶ Remove the directory from the SYSTEM path
index: where the directory should be placed in the PATH (default: 0)
Example:
'C:\sysinternals': win_path.absent
-
salt.states.win_path.
exists
(name, index=0)¶ Add the directory to the system PATH at index location
index: where the directory should be placed in the PATH (default: 0)
Example:
'C:\python27': win_path.exists 'C:\sysinternals': win_path.exists: index: 0