Support for htpasswd module. Requires the apache2-utils package for Debian-based distros.
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 not in the specified htpasswd file
Make sure the user is inside the specified htpasswd file
salt.modules.htpasswd.useradd
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.webutil.html