Foreman and Chef integration at ChefConf 2014

3,384 views

Published on

Foreman is a lifecycle management tool for hosts, helping from provisioning through to configuration management and monitoring. It's traditionally been associated with Puppet, but now boasts Chef support with fact and report handler integration.

In this session, we'll see how Foreman fits into your infrastructure and the provisioning and Chef integration in action.

Published in: Technology, Business, Travel

Foreman and Chef integration at ChefConf 2014

  1. 1. Foreman and Chef integration Dominic Cleal dcleal@redhat.com 17th April 2014
  2. 2. Foreman + Chef | 2 | Dominic Cleal Agenda ● An intro to Foreman ● Traditional Foreman <-> CM integration ● Integrated Foreman <-> Chef areas ● Demo ● Quick look behind the scenes ● Where next?
  3. 3. Foreman + Chef | 3 | Dominic Cleal Introduction to Foreman
  4. 4. Foreman + Chef | 4 | Dominic Cleal Areas of CM integration ● Facts ● Reports ● Class import ● Parameter (value) management ● External node / run list determination
  5. 5. Foreman + Chef | 5 | Dominic Cleal Traditional Foreman <-> CM
  6. 6. Foreman + Chef | 6 | Dominic Cleal Integrated Foreman <-> Chef
  7. 7. Foreman + Chef | 7 | Dominic Cleal Authentication and proxying
  8. 8. Foreman + Chef | 8 | Dominic Cleal Authentication and proxying
  9. 9. Foreman + Chef | 9 | Dominic Cleal Demo
  10. 10. Foreman + Chef | 10 | Dominic Cleal Facts uploads
  11. 11. Foreman + Chef | 11 | Dominic Cleal Report uploads
  12. 12. Foreman + Chef | 12 | Dominic Cleal Future possibilities ● Better provisioning support: provide templates, associate Chef servers with hosts, chef-solo ● Foreman 1.5 adds config groups – are these analogous to Chef's roles? ● Can we install and configure the handler at runtime? ● Could some of the Chef server UI be embedded into Foreman, or vice-versa?
  13. 13. Foreman + Chef | 13 | Dominic Cleal Questions? ● https://github.com/theforeman/foreman_chef – RPM users: yum install foreman-plugin-chef – Gem or Debian users: gem install foreman_chef ● https://github.com/theforeman/chef-handler-foreman – gem install chef-handler-foreman ● Provisioning snippet: https://gist.github.com/domcleal/11003111 ● Office hours at 3:15pm

×