Chef infrastructure as code

298 views

Published on

Lighting Talk sur comment gérer son infrastructure en écrivant du code avec Chef.
Et comme est du code, il devient possible de faire du BDD et TDD avec son infrastructure.

Published in: Technology, Business, Travel
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
298
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Chef infrastructure as code

  1. 1. Infrastructure as code with Chef
  2. 2. remercie pour l organisation de ses sponsors pour leur soutien
  3. 3. Infrastructure as code with Chef
  4. 4. Infrastructure as code with Chef
  5. 5. http://www.zem.fr/
  6. 6. Chef ? http://www.vectorarts.net/people/free-woman-chef-tree-vector-graphics/
  7. 7. Premier Cookbook En mode TDD
  8. 8. TDD ?
  9. 9. TDD runner.to create_file "/etc/nginx/nginx.conf" file = chef_run.template("/etc/nginx/nginx.conf") expect(file).to be_owned_by('root', 'root') expect(file.mode).to eq("0440")
  10. 10. BDD ?
  11. 11. BDD file("/etc/nginx/nginx.conf").must_have(:mode, "0440") package("nginx").must_be_installed service("nginx").must_be_running
  12. 12. Démo
  13. 13. Merci
  14. 14. @nledez nicolas.ledez.net

×