Chef and Rails, our story

joren
April 07, 2013

Chef and Rails, our story

A little story about how we use Chef and Rails for our custom controlpanel.

joren

April 07, 2013

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

38 slides
  1. How it used to be • ./post_install.sh • openminds gem

    • rackup omd.rb • data push to Sock zondag 7 april 13
  2. • Idempotence • Time consuming • Direct control • Special

    snowflakes Implications for us zondag 7 april 13
  3. for customers • no fixed solution: special snowflakes • one-way

    traffic to Sock • not a real control panel zondag 7 april 13
  4. Version management • don’t break old stuff • no major

    upgrades • wrapper recipe • new version == new recipe zondag 7 april 13
  5. Sock B.C. • one-way traffic • not a real control

    panel • time consuming for us zondag 7 april 13
  6. Sock A.C. • two-way traffic • real control panel •

    client in control zondag 7 april 13
  7. Chef handling our JSON • Light-Weight Resource and Providers •

    Actions: create, update, delete, lock, move, ... zondag 7 april 13
  8. Breaking stuff • Cache invalidation • Naming things • Git

    usage; working in a team • “but it worked on my Vagrant...” zondag 7 april 13
  9. Sandbox Environment • We still use Vagrant <3 • Mimics

    Production Environment • Detailed monitoring zondag 7 april 13
  10. Le Future • we’re agile, we don’t plan the future

    • chef-sock all the things, all the time • better queueing and reporting zondag 7 april 13

More Decks by joren

Other Decks in Technology