Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The puppet editor tips page seems to suggest that using eclipse & dltk (presumably the ruby tools) will assist with editing .pp files.

I can't see any difference or get syntax highlighting with DLTK 1.0 and the ruby plugins installed. Is there something I'm missing or eclipse configuration I need to set for it to start doing syntax highlighting and validation of my puppet model?

share|improve this question
up vote 2 down vote accepted

Before the above will work, I had to create a new eclipse ruby project and add a ruby interpreter pointing at /usr/bin/ruby (the default install location of ruby on Mac OS X).

After that was done, it was possible to open and highlight .pp files in the Ruby editor and get syntax highlighting working.

It also helps to link the .pp file type with the ruby editor in the General > Editors > File Associations section of the Eclipse preferences.

share|improve this answer

Also checkout the project which contains a Puppet .pp parser/editor with syntax coloring, error markers, etc. and with features that makes it easy to work with puppet modules.

Geppetto is available as a ready to use download, or as features installable into Eclipse.

share|improve this answer
geppetto is definitely the way to go. – Nan Liu May 4 '11 at 17:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.