cookbook 'htpasswd', '= 0.0.3', :supermarket
htpasswd (14) Versions 0.0.3 Follow18
Provider for htpasswd
cookbook 'htpasswd', '= 0.0.3'
knife supermarket install htpasswd
knife supermarket download htpasswd
Manage an htpasswd file. If htpasswd exe isn't found, we install a python implementation.
Work on linux with python for build-in implementation
This cookbook includes LWRPs for managing: * htpasswd
- :add: Add a login in a htpasswd file. modify it if there is already one and create file if not found (default)
- :overwrite: Overwrite an htpasswd file (delete file and add user).
- package_name: file attribute. path of the htpaswwd to manage
- user: user to create
- password: password for the user
# add user "foo" with password "bar" to "/etc/nginx/htpassword" htpasswd "/etc/nginx/htpassword" do user "foo" password "bar" end
This cookbook has no specified dependencies.