Skip to content

Instantly share code, notes, and snippets.

@boris
Last active August 29, 2015 14:07
Show Gist options
  • Save boris/22417e371826ebbae318 to your computer and use it in GitHub Desktop.
Save boris/22417e371826ebbae318 to your computer and use it in GitHub Desktop.
DevOps Tools: Chef + Vagrant

Software Freedom Day - Demo.

Instalación de herramientas:

Chef:

Knife:

  • Instalación: gem install knife
  • Listar nodos, ambientes, roles: knife {node, environment, role} list
  • Ver descripción de un nodo, ambiente o rol: knife {node, environment, role} show <nombre>

Vagrant:

  • Agregar nueva box: vagrant add box hashicorp/precise64
  • Levantar una instancia: vagrant up <instancia>
  • Conectarse por SSH a instancia: vagrant ssh <instancia>

Kitchen:

  • Instalación: gem install kitchen
  • Ayuda: kitchen help
  • Iniciar un proyecto: kitchen init
  • Listar instancias: kitchen list
  • Crear instancia: kitchen create <instancia>
  • Ejecutar chef: kitchen converge <instancia>

Presentación: https://speakerdeck.com/boris/devops-tools-chef-plus-vagrant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment