Skip to content

akrasic/chef-cookbook-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Standarized cookbook templating and naming conventions for chef

Based on Alessandro Franceschi / Lab42 idea for Puppet modules templating and Jorge Espada's tmux cookbook.

This repository contains various experiments on Chef cookbooks design.

Alternative solutions are researched and published to provide basic sample cookbooks that can be used as blueprint for the (quick) generation of new basic cookbooks of different nature, upon which the relevant customizations can be done.

A set of common attributes (and possibly community standard) greatly enhances cookbooks usability and interoperability. These cookbooks templates implement an early proposal for a Standard Cookbook Interface: a set of common and standard attributes that provide standard and predictable functionalities.

I personally think that something like this would be of great benefit for the Chef Modules ecosystem.

All these cookbooks feature some common principles:

  • True reusability: you can completely manage the behaviour of the cookbook via the attributes it exposes.

  • Easy Multi OS support implementation: all internal references to paths are abtracted when possible.

  • Configuration freedom: you can provide configuration files, attributes and whole dirs in the way you want.

  • Behaviour management: you can define how the cookbook's resources behave.

  • Decommissioning support: All the resources can be installed and removed.

About

A group of meta-cookbook templates to ease Chef cookbooks writing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published