YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Chef infrastructure as code

Infrastructure as codewith Chef

Page 2: Chef infrastructure as code

remercie pour l�organisation de

ses sponsors pour leur soutien

Page 3: Chef infrastructure as code

Infrastructure as codewith Chef

Page 4: Chef infrastructure as code

Infrastructure as codewith Chef

Page 5: Chef infrastructure as code

http://www.zem.fr/

Page 6: Chef infrastructure as code

Chef ?

http://www.vectorarts.net/people/free-woman-chef-tree-vector-graphics/

Page 7: Chef infrastructure as code
Page 8: Chef infrastructure as code

Premier CookbookEn mode TDD

Page 9: Chef infrastructure as code

TDD ?

Page 10: Chef infrastructure as code

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")

Page 11: Chef infrastructure as code

BDD ?

Page 12: Chef infrastructure as code

BDD

file("/etc/nginx/nginx.conf").must_have(:mode, "0440")package("nginx").must_be_installedservice("nginx").must_be_running

Page 13: Chef infrastructure as code

Démo

Page 14: Chef infrastructure as code

Merci

Page 15: Chef infrastructure as code

@nledez nicolas.ledez.net


Related Documents