Puppet is an automated configuration tool written in Ruby, it is programmed using a DSL and uses ERB templates.
Puppet Labs the developers of puppet have released a major mode that provides syntax highlighting puppet-syntax-emacs.
There is also a Flymake plugin puppet-flymake which uses puppet-lint to do syntax checking.