Did you ever try Gepetto (https://github.com/cloudsmith/geppetto)? At least in the coming version (3.0) will support Puppet 3. I really do recommend Gepetto since I’ve been working with it for more than a year now and it helped me a lot creating error free code. You should give it a try. There are also current beta releases available which (as far as I know) already do support Puppet 3. It’s available as an Eclipse plugin and as a standalone program.
Cheers,
Bernd
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/wBOih0BkLQMJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Did you ever try Gepetto (https://github.com/cloudsmith/geppetto)? At least in the coming version (3.0) will support Puppet 3. I really do recommend Gepetto since I’ve been working with it for more than a year now and it helped me a lot creating error free code. You should give it a try. There are also current beta releases available which (as far as I know) already do support Puppet 3. It’s available as an Eclipse plugin and as a standalone program.
Hi Sandra,
Yes, you may either use it as an Eclipse plugin or as a standalone program. There’s no link to vi or Emacs at all. I think I know what you mean. My absolutely favorite editor is vim. Normally I don’t need anything else but the command line and vim. However, when it’s about creating source code (Puppet, Java, whatever) I want to have the ability to see my errors while I’m typing and that’s why I then move to some GUI stuff like Eclipse. It saves me a lot of time. (Not to mention some other advantages like code formatting.)
I know there are also command line tools for validating Puppet code. Maybe someone else from this list can provide more information.
Cheers
Bernd
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/oljsXv0_ayIJ.
Yes, you may either use it as an Eclipse plugin or as a standalone program.
- puppet parser validate file.pp (Validate the syntax of one or more
Puppet manifests).
- puppet-lint file.pp (Check that your Puppet manifest conform to the
style guide) this one must installed using gems package manager: gem
install puppet-lint
Check all .pp files in a directory
find -name '*.pp' | xargs -n 1 -t puppet parser validate
find -name '*.pp' | xargs -n 1 -t puppet-lint
I first use vim-puppet (syntax highlighting for puppet manifests in
vim while creating my manifest) To create my manifests