saltstack-formulas / users-formula

Configure users via pillar
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
99 stars 362 forks source link

Add timezone option #196

Open wolfpackmars2 opened 5 years ago

wolfpackmars2 commented 5 years ago

Add a timezone option to configure per-user timezone settings.

Thoughts?

perlchild commented 5 years ago

That's an environment variable, and per shell Wouldn't managing the dotrc of choice do this perfectly?

noelmcloughlin commented 5 years ago

The manpage for adduser does not handle TZ so @perlchild is correct in saying use an environment variable.

By the way, this formula already supports per-user .bashrc so if you are using bash maybe that will work. Otherwise we need a PR.