Do you use Puppet to manage your infrastructure? Are you like me and absolutely love TextMate2? If so you are probably pulling your hair out getting syntax highlighting working with TextMate2.
The original version of TextMate had a very wide array of bundles (called tmbundles) that extended its functionality. When TextMate2 was released, it did not have the ability to import older bundles written for version 1.
It does ship with a large amount of built in bundles, however Puppet and Chef don’t ship by default. So, instead of pretty highlighting calling out syntax errors that you have made (or showing how awesome as job you have done) you get a bland white output show below.
Enter in Matthew Barr and is super awesome Puppet CI work. Very specifically, his puppet TextMate Bundle that works with TextMate2 - https://github.com/matthewbarr/puppet-textmate.tmbundle
Installation is pretty simple (you don’t have to use git if you don’t want).
Now that you have that installed. You now can choose puppet the puppet module instead of plain yet and you end up with beautifully highlighted code.
Quick Links
Legal Stuff