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

The krb5_utils cookbook has been deprecated

Author provided reason for deprecation:

The krb5_utils cookbook has been deprecated and is no longer being maintained by its authors. Use of the krb5_utils cookbook is no longer recommended.

You may find that the krb5 cookbook is a suitable alternative.


krb5_utils (5) Versions 0.2.2

Set of attribute-driven utility resources which can be used to setup Kerberos

cookbook 'krb5_utils', '= 0.2.2', :supermarket
cookbook 'krb5_utils', '= 0.2.2'
knife supermarket install krb5_utils
knife supermarket download krb5_utils
Quality 50%

krb5_utils cookbook

Cookbook Version
Build Status


This cookbook requires the krb5 cookbook, version 1.0.4 or greater.


This cookbook is intended for use in creating secure Hadoop clusters. As such, it will add the HTTP service
principal to all other service principals. This can be disabled by setting krb5_utils['add_http_principal'] to false.


  • krb5_utils['admin_principal'] - Initial administrator principal, created on KDC. Default admin/admin
  • krb5_utils['admin_password'] - Password for krb5_utils['admin_principal']. Default password
  • krb5_utils['keytabs_dir'] - On-disk location for storing keytab files. Default /etc/security/keytabs
  • krb5_utils['krb5_service_keytabs'] - Hash of service keytabs to create. Default {}
  • krb5_utils['krb5_user_keytabs'] - Hash of user keytabs to create, in the same format as krb5_utils['krb5_service_keytabs']. Default {}

Hash format:
{ 'HTTP' => { 'owner' => 'hdfs', 'group' => 'hadoop', 'mode' => '0640' } }


Copyright © 2014-2016 Cask Data, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

krb_utils CHANGELOG

v0.2.2 (Sep 16, 2016)

  • Set ntp.sync_clock to true for users of ntp cookbook ( Issue: #14 )
  • Use grep to parse kadmin get_principal output ( Issue: #15 )

v0.2.1 (Sep 13, 2016)

  • Create LICENSE.txt via GitHub ( Issue: #8 )
  • Copy chefignore from caskdata/hadoop_cookbook ( Issue: #9 )
  • Copy Gemfile from caskdata/hadoop_cookbook ( Issue: #10 )
  • Use get_principal versus list_principals and grep ( Issue: #11 )
  • Split recipe tests into their own files ( Issue: #12 )

v0.2.0 (Apr 12, 2016)

  • Allow unconfigured run to install client libraries ( Issue: #6 )

v0.1.2 (Sep 25, 2014)

  • Initial OSS release

Collaborator Number Metric

0.2.2 passed this metric

Foodcritic Metric

0.2.2 failed this metric

FC064: Ensure issues_url is set in metadata: /tmp/61e03b00f3b7a2d538e58931/krb5_utils/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/61e03b00f3b7a2d538e58931/krb5_utils/metadata.rb:1