Slide 1

Slide 1 text

Chef Browser Chef in your favorite browser

Slide 2

Slide 2 text

Hello! Marta Paciorkowska Three of Coins https://github.com/3ofcoins/ http://3ofcoins.net

Slide 3

Slide 3 text

The works Chef → Chef API → Ridley → Chef Browser → end user

Slide 4

Slide 4 text

Chef → Chef API → Ridley → Chef Browser → end user Nodes running in environments with different roles, filled with data bags full of items, running on recipes organized in cookbooks. A powerful software tool to configure and maintain your IT infrastructure.

Slide 5

Slide 5 text

Chef → Chef API → Ridley → Chef Browser → end user (Opscode published its own chef-server-webui, but it's not the most user-friendly) Source: http://leopard.in.ua/

Slide 6

Slide 6 text

Chef → Chef API → Ridley → Chef Browser → end user Nice and RESTful

Slide 7

Slide 7 text

Chef → Chef API → Ridley → Chef Browser → end user A Ruby library with clean syntax that makes conversations with Chef nice. https://github.com/RiotGames/ridley

Slide 8

Slide 8 text

Chef → Chef API → Ridley → Chef Browser → end user Knife queries Ridley queries knife search mysql_server_root_password:* -i chef_server.search(:node, "mysql_server_root_password:*") knife node show node_name chef_server.node.find("node_name") chef_server = Ridley.new( server_url: "http://127.0.0.1", client_name: "foo", client_key: "/users/foo/.chef/bar.pem" )

Slide 9

Slide 9 text

Chef → Chef API → Ridley → Chef Browser → end user A simple web tool we created to give you better insight into your IT infrastructure. http://3ofcoins.github.com/chef-browser

Slide 10

Slide 10 text

Chef → Chef API → Ridley → Chef Browser → end user Building blocks: Sinatra + Erubis - simple, no databases necessary Bootstrap v3.0.3 - makes Chef Browser responsive and mobile friendly TinyConfig, https://github.com/3ofcoins/tinyconfig - configuring settings by the user is extremely simple

Slide 11

Slide 11 text

Access lists of all available nodes, environments, and more. Chef → Chef API → Ridley → Chef Browser → end user

Slide 12

Slide 12 text

View details of each resource Chef → Chef API → Ridley → Chef Browser → end user

Slide 13

Slide 13 text

Find info on given resource filtering through its attributes. Chef → Chef API → Ridley → Chef Browser → end user

Slide 14

Slide 14 text

Save yourself some typing with storing most useful queries. Chef → Chef API → Ridley → Chef Browser → end user

Slide 15

Slide 15 text

Chef → Chef API → Ridley → Chef Browser → end user How to install: 1. Download from http://3ofcoins.github.com/chef-browser 2. Run bundle install 3. Provide server details in a settings.rb file: server_url "http://127.0.0.1:4000" client_name "marta" client_key "home/marta/key.pem" 4. Run puma -e production 5. Go to http://localhost:9292

Slide 16

Slide 16 text

Roadmap - browsing cookbooks - encrypting data bags - Docker container / VM image integrating chef- server & chef-browser ...but feel free to open issues and PRs!

Slide 17

Slide 17 text

Thanks! Questions? Three of Coins https://github.com/3ofcoins/ http://3ofcoins.net