Support for htpasswd module
New in version 2014.7.0.
username:
webutil.user_exists:
- password: secr3t
- htpasswd_file: /etc/nginx/htpasswd
- options: d
- force: true
Make sure the user is inside the /etc/nginx/htpasswd
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2015.5.2