Created
December 3, 2014 01:05
-
-
Save thiagovsk/1c97be88875bc9ea8748 to your computer and use it in GitHub Desktop.
passo a passo cheff do shell ao cheff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deixa tudo instalado como https://www.digitalocean.com/community/tutorials/how-to-install-chef-and-ruby-with-rvm-on-a-ubuntu-vps | |
gem install chef --no-ri --no-rdoc | |
gem install librarian-chef | |
gem install knife-solo --no-ri --no-rdoc | |
sudo apt-get install libxslt-dev libxml2-dev | |
gem install berkshelf --no-ri --no-rdoc | |
gem install foodcritic --no-ri --no-rdoc | |
Criar uma receita com o knife | |
knife cookbook create shell_to_chef | |
seguir isso | |
https://learn.getchef.com/legacy/starter-use-cases/convert-bash-to-chef/ | |
na verdade isso | |
http://www.gotealeaf.com/blog/chef-basics-for-rails-developers | |
onde tem receitas chef | |
https://supermarket.chef.io/ |
bom vamos la
ver com calma
http://www.akitaonrails.com/2014/07/28/small-bites-vagrant-ubuntu-14-04-chef-solo#.VH5wX3X9rGF
https://www.intercityup.com/guides/rails-chef-digitalocean
http://thinkingonthinking.com/A-custom-rails-stack-with-chef/
http://blog.atwam.com/blog/2013/04/27/preparing-a-rails-app-for-deployment-using-chef-solo/
http://gettingstartedwithchef.com/first-steps-with-chef.html
http://www.dextra.com.br/eventos/webinars-2014/gerenciando-ambientes-em-vms-utilizando-vagrant-com-chef.php
http://checchia.net/2013/06/como-automatizar-sua-infraestrutura-opscode-chef/
http://www.ricardomartins.com.br/conhecendo-o-chef-e-automatizando-seu-trabalho/
http://gutocarvalho.net/octopress/2013/03/16/o-que-e-um-devops-afinal/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
knife solo init cria toda a estrutura pra você
adicionar gem 'librarian-chef' funciona como um bundler
librarian-chef init cria um cheff file
librarian-chef install é como um bundle install
podemos criar um cookbook:
$ knife cookbook create shell_to_chef