So some of you may be aware that Tim Sharpe from GitHub wrote a Puppet
linting tool:

$ gem install puppet-lint
$ puppet-lint mymanifest.pp

Source: https://github.com/rodjek/puppet-lint

The linting tool checks Puppet code for "best practice" based on the
Puppet Labs Style Guide:

http://docs.puppetlabs.com/guides/style_guide.html

A lot of us have been using puppet-lint (and puppet parser validate) to
ensure our code is synoptically correct and as "best practice" as
possible.

We're also aware that there are some strange and odd things in the
Puppet language and whilst we can't fix all them right now we'd like to
find a way to highlight items and syntax that is sub-optimal for you via
linting.

So what can you do to help?  Well firstly help us identify any syntax,
language constructions, structures etc that have caused issues for you
or that when used result in errors or issues. You can let us know about
these in three ways:

* Submit patches and additions to the linting tool. Patches in the form
of failing tests are especially welcome if you aren't comfortable adding
new tests yourself.
* Email me or the list with tickets containing issues like this.
* Send me or the list snippets of Puppet code that cause issues and the
output/issue they result in.

We'll also look at tracking as many of these as possible and where
relevant update the Style Guide with them too.

Cheers

James

-- 
James Turnbull
Puppet Labs
1-503-734-8571
To schedule a meeting with me: http://tungle.me/jamtur01

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to