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

hdp-cloud (1) Versions 1.0.0

Installs/Configures hdp-cloud

Policyfile
Berkshelf
Knife
cookbook 'hdp-cloud', '~> 1.0.0', :supermarket
cookbook 'hdp-cloud', '~> 1.0.0'
knife supermarket install hdp-cloud
knife supermarket download hdp-cloud
README
Dependencies
Quality 17%

hdp-cloud

Installs and configures a cluster for use with Ambari

  • default.rb - run on all clients
  • master.rb - run on the specified master node

Override attributes to your clusters configured settins

To create a user on the cluster, create a new data bag and add JSON like:

{
  "id": "redstack-admin",
  "uid": "1501",
  "keytab_principal": "redstack-admin",
  "keytab_filename": "redstack-admin.headless.keytab",
  "keytab_location": "/user_items/keytabs",
  "keytab_owner": "redstack-admin",
  "keytab_groupowner": "redstack-admin",
  "keytab_permissions": "400",
  "create_hdfs_home": "true",
  "create_ssh_key": "true",
  "regular_user": "true",
  "sudo_user": "true",
  "install_smoke_test": "true",
  "password": "[generated_password_hash]"
}
  • Where the value for password is an encrypted password generated by openssl
  • The password is encrypted with a general unix crypt hash, it can be created with openssl passwd -1 password_string
  • To create a service user, set the regular_user flag to false. This is how to create a service account for something like Hue
  • Note that service account are not present in the LDAP server, only as a local account

Dependent cookbooks

selinux >= 0.0.0
autofs >= 0.0.0
nfs >= 0.0.0
yum >= 0.0.0
line >= 0.0.0
entropy >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.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
            

1.0.0 failed this metric

FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:7
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:8
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:9
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:10
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:11
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:12
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:13
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:14
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/default.rb:15
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:7
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:8
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:9
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:10
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:11
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:12
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:13
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:14
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:15
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:16
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:17
FC007: Ensure recipe dependencies are reflected in cookbook metadata: hdp-cloud/recipes/master.rb:18
FC064: Ensure issues_url is set in metadata: hdp-cloud/metadata.rb:1
FC065: Ensure source_url is set in metadata: hdp-cloud/metadata.rb:1
FC066: Ensure chef_version is set in metadata: hdp-cloud/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: hdp-cloud/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.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
            

1.0.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 include a tag that matches this cookbook version number