The Song of JBoss and Chef
summary
Automates JBoss domain mode with Chef by storing CLI-centric JSON in data bags and translating each entry into CLI invocations, plus a fragile output parser that massages JBoss replies into Ruby hashes for validation and self‑healing. Measured Chef CLI calls at 23s per invocation, ~50 invocations ⇒ ~2 min delay, which drove the decision to dump full config once and only change diffs. Result: JBoss domain mode via CLI mapped from JSON data bags and doubled hosts in ~1 hour on a VMware private cloud; tooling works but is brittle and partially proprietary.
AI-written summary · about
chapters (15)
- 0:00Start
- 3:39Why did we care?
- 5:02Architecture
- 9:53How do you configure JBoss?
- 12:27Reading the JBoss output
- 15:02JBoss output massaging function
- 16:13JBoss output format
- 17:30Other JBoss annoyances
- 19:24The good and the bad
- 20:19PROD cluster 1 hour later
- 22:05Handover - number of commits
- 22:46Data bags - number of commits
- 23:40Reading the Chef output
- 24:43Managable config
- 25:41Diverging templates
