Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

htpasswd (26) Versions 0.3.0

Provider for htpasswd

Policyfile
Berkshelf
Knife
cookbook 'htpasswd', '= 0.3.0', :supermarket
cookbook 'htpasswd', '= 0.3.0'
knife supermarket install htpasswd
knife supermarket download htpasswd
README
Dependencies
Quality 50%

htpasswd Build Status Cookbook Version

Description

Manage an htpasswd file.
If htpasswd exe isn't found, we install a python implementation.

Requirements

Work on linux with python for build-in implementation

Resource/Provider

This cookbook includes LWRPs for managing:
* htpasswd

htpasswd

Actions

  • :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).

Attribute Parameters

  • package_name: file attribute. path of the htpaswwd to manage
  • user: user to create
  • password: password for the user

Example

# add user "foo" with password "bar" to "/etc/nginx/htpassword" with the default md5 type.
htpasswd "/etc/nginx/htpassword" do
  user "foo"
  password "bar"
end

# add user "foo" with password "bar" using sha1 as the type.
htpasswd "/etc/nginx/htpassword" do
  user "foo"
  password "bar"
  type "sha1"
end

Collaborator Number Metric
            

0.3.0 passed this metric

Contributing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 passed this metric

No Binaries Metric
            

0.3.0 failed this metric

Failure: Cookbook should not contain binaries. Found:
htpasswd/supermarket.pem.enc

Testing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.0 passed this metric