rodjek/puppet-lint — pull request #183 by rodjek (2013-09-14 00:20:47+00:00)
Title: Puppet-lint fails to handle mac line endings

Puppet-lint fails on files using a single CR as a line ending, while `puppet parser validate` works fine with them:

```
hexdump -C:

00000000 63 6c 61 73 73 20 67 61 6d 65 73 65 72 76 65 72 |class gameserver|
00000010 73 20 7b 0d 7d |s {.}|
```
This file was

```puppet
class gameservers{^M}
```

Errors reported:
```
$ puppet-lint ./modules/gameservers/manifests/init.pp
ERROR: Syntax error (try running `puppet parser validate `) on line 1
$ puppet parser validate ./modules/gameservers/manifests/init.pp
$ echo $?
0
```