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


tftp (24) Versions 2.0.0

Installs/Configures tftpd

cookbook 'tftp', '= 2.0.0', :supermarket
cookbook 'tftp', '= 2.0.0'
knife supermarket install tftp
knife supermarket download tftp
Quality 100%

tftp Cookbook

Build Status
Cookbook Version

Configures the Trivial File Transfer Protocol server tftpd. This cookbook may be used in conjunction with the pxe_dust to create PXE-bootable Ubuntu installs.



  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle


  • Chef 11+


  • xinetd



The default recipe passes through to the server recipe.


The node will install and use the tftpd application to provide files via tftp. Typically those nodes will be requesting images via PXE and configured from their BIOS as clients, so there is not a client recipe yet.


Nodes using the tftp::server recipe will provide tftp access to whatever files are in their ['tftp']['directory'].

License & Authors

Author: Cookbook Engineering Team (

Copyright: 2008-2015, Chef Software, 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.

tftp Cookbook CHANGELOG

This file is used to list changes made in each version of the tftp cookbook.

v2.0.0 (2016-05-20):

  • Completely refactored to use the xinetd cookbook and to allow all config variables to be passed in via a config hash. See the attributes file for the new defaults and usage.

v1.6.0 (2016-05-19):

  • Add a new attribute for controlling the user / group of tftp directories. Also properly set these to the defaults for RHEL/Fedora/Debian based systems

v1.5.0 (2016-05-18):

  • Add a new attribute for controlling the permissions on the tftp directory

v1.4.0 (2016-04-28):

  • Added support for RHEL 7 by installing xinetd on all RHEL systems to ensure it's present


  • Switch to platform family to support additional RHEL and Debian derivatives
  • Setup / Start the services after creating the dirs and templating the configs to prevent starting the service is a 1/2 working state and/or failures that would halt the chef run
  • Fix service starts/restarts on Ubuntu
  • Replace minitest testing with serverspec
  • Added gitignore and chefignore files
  • Added Test Kitchen config
  • Added Rubocop config
  • Added Travis config
  • Added Berksfile
  • Updated Testing and Contributing docs
  • Added maintainers.toml and files
  • Added Gemfile with development dependencies
  • Added Travis and cookbook version badges to the Readme
  • Expanded the requirements section in the Readme
  • Added a Rakefile for simplified testing
  • Added additional platforms to the metadata.rb
  • Added issues_url and source_url to the metadata.rb
  • Updated Opscode -> Chef Software
  • Added basic Chefspec converge test
  • Converted symbols to strings for Foodcritic
  • Resolved all Rubocop warnings
  • Add License file


  • [COOK-3297] - Improved support for customized settings for RedHat based systems, the default options were also corrected
  • Resolved xinetd restarting on every chef run


  • [COOK-1849] - Add RHEL support


  • [COOK-1536] - tftp service doesn't restart if down

Foodcritic Metric

2.0.0 passed this metric