large td-agent.conf with Chef

32d848b3a4490001225e3e604c37645d?s=47 kenjiskywalker
December 13, 2013

large td-agent.conf with Chef

32d848b3a4490001225e3e604c37645d?s=128

kenjiskywalker

December 13, 2013
Tweet

Transcript

  1. large td-agent.conf with Chef @kenjiskywalker

  2. RubyGems

  3. Is only one configuration file used? td-agent.conf

  4. Include Directive

  5. Include Directive on Chef cookbook

  6. td-agent cookbook recipe

  7. /td-agent/recipes/default.rb

  8. /td-agent/recipes/default.rb

  9. /s3cmd/recipes/default.rb

  10. /s3cmd/templates/ default/_s3cfg.erb

  11. /td-agent/recipes/default.rb

  12. /td-agent/templates/ default/td-agent.conf.erb glob͸includeͷॱ൪΍ಡΈࠐΜͰ͸͍͚ͳ͍configͳͲ ಡΈࠐΜͰ͠·͏Մೳੑ͕͋ΔͷͰɺݸผͰࢦఆͨ͠ํ͕ྑ͍

  13. /td-agent/recipes/default.rb

  14. /td-agent/recipes/ default/nginx.conf

  15. /td-agent/recipes/ default/nginx-s3.conf

  16. /td-agent/recipes/ default/default.conf

  17. - include directive @fluent - include_recipe @Chef very simple ;)

    +
  18. thank you.