O'Reilly logo

Troubleshooting Puppet by Thomas Uphill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Editors

Syntax highlighting can be a huge help when you are writing code. If your editor colors your code the wrong color, you know visually that there is a syntax error. This can help you quickly find out where you forgot to close a quote. Configuring your editor to follow the style guidelines that were outlined in the previous section makes obeying the guidelines transparent. If you configure your editor to use two spaces instead of tabs, then you don't have to remember to check your code for tabs. In the next two sections, we will configure two of the most popular editors for Puppet code on Unix machines.

Vim

There are two modules that are used to configure vim to write Puppet code. One is the puppetlabs module, which is located at https://github.com/puppetlabs/puppet/tree/master/ext/vim/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required