fixup to ae427f5654bf8492d6555783123acc89fa36e702
Update reg.py
Merge pull request #4923 from diluga/patch-1

Update reg.py
Added docs on the file.sed options

Fixes #4922
Fixed docs on file.sed's limit option to reflect current behavior

We no longer use sed to search the file for the limit + after pattern.
Pillar.__valid_ext(): use any() & a set
Merge pull request #4926 from cvrebert/patch-2

Pillar.__valid_ext(): use any() & a set
Remove unused `path` args from list_env, Fixes #4847
Merge pull request #4928 from basepi/listenv4847

Remove unused `path` args from list_env, Fixes #4847
Add key cleaning routines
remove unused master arg
add salt-run manage.key_regen

This routine is used to regenerate all cryptographic keys in and
environment
Add in runner to regen salt environment keys
Duh! the pki_dir
Fix the key_regen() output
result should be True if already configured
Properly pass cwd, runas, and shell through in _run_check(), Fixes #4825
Merge pull request #4930 from jfchevrette/pkgrepo_result_true_if_already_configured

pkgrepo.managed should return True if repo is already configured
Merge pull request #4925 from s0undt3ch/develop

Add logs to know what's happening in `salt.utils.which`
Remove un-used `message` arg, Fixes #4824

Don't know where it came from, but `ret` contains all the message we
need