Skip to content

Instantly share code, notes, and snippets.

@justinclayton
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinclayton/60736d31b5ef28e9d7fc to your computer and use it in GitHub Desktop.
Save justinclayton/60736d31b5ef28e9d7fc to your computer and use it in GitHub Desktop.
puppet2chef.md

Puppet2Chef Terms and Conventions Translator:

Company/Product Terms

  • Puppetlabs -> Chef
  • Reductive Labs -> Opscode
  • Puppet Master -> Chef Server
  • Puppet Agent -> Chef Client
  • Forge -> Supermarket

On the CLI

  • puppet apply -> chef-apply
  • puppet agent --test -> chef-client
  • nil -> knife

Language Components

  • manifest -> recipe
  • module -> cookbook
  • resource -> resource
  • resource attribute -> resource attribute
  • namevar -> identity attribute
  • class -> recipe (no declaration needed; file is scope of recipe?)
  • defined type -> lightweight resource (type?)
  • custom type/provider? -> heavyweight resource (type?)
  • facter -> ohai
  • node -> node

Community Ecosystem

  • librarian-puppet / r10k =~ Berkshelf
  • rspec-puppet -> chefspec
  • rspec-system / beaker -> test-kitchen
  • blacksmith -> stove?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment