Clean any stale dir before creation
Randomize salt cloud deployment directory
Correct path
Remove unusued testing code
Correct perms for ps module
Use local bootstrap
Ensure correct perms after dir creation
update documentation about SmartOS esky packaging
smartos esky: improve "installer"

detect if this is a global or non-global zone
global zones are always minions

if the user passes in the name/address of the master
we configure a minimal minion file and launch the minion
SmartOS: run salt minion in an audit context

This fixes an issue @njones11 was having with
multiple cron.present states.

"crontab -l <username>" would fail, so the temp file
would be empty, a given cronjob would go in
and then the "su - <username> crontab <temp file>" would
succeed.

This evaded debugging attempts because if you invoked the salt
minion manually from a login shell, an audit context would
already exist and the "crontab -l <username>" would succeed.

The hint was a message in the debug log of:
[ERROR   ] Command 'crontab -l legion' failed with return code: 1
[ERROR   ] stderr: crontab: The audit context for your shell has not
been set.

We explicitly set up an audit context when launching the salt minion
which allows "crontab -l <username>" to succeed.

This may fix other issues and something similar
should perhaps be applied to pkg/smartos/salt-minion.xml

"5417" was chosen arbitrarily
Merge pull request #14501 from nshalman/esky-fixes-2014.1

backport smartos esky improvments to 2014.1
Align tmpdir and deploy dir
missing ret definition
Merge pull request #14606 from UtahDave/2014.1

missing ret definition
Add boolean property to differentiate SSE
Report `SSE` on formatted version
Show "Enterprise" instead of "SSE"

Fixes saltstack/backlog#33
Version names only contain major and minor parts of the version
Regular `__version__` attribute must not include codename.

* Add `noc` and `sha` as `repr` attributes.
Stop hard coding the version name.

Fixes saltstack/backlog/issues#11