Skip to content

Instantly share code, notes, and snippets.

@lindenle
Created October 20, 2012 00:15
Show Gist options
  • Save lindenle/3921393 to your computer and use it in GitHub Desktop.
Save lindenle/3921393 to your computer and use it in GitHub Desktop.
puppet parser validate issue
=>> cat /tmp/foo.pp
node "foo" {
class { "bar" }
}
=>> puppet parser validate --color=false /tmp/foo.pp
err: Could not parse for environment production: Syntax error at '}'; expected '}' at /tmp/foo.pp:2
err: Try 'puppet help parser validate' for usage
=>> echo $?
1
=>> puppet parser validate --ignoreimport --color=false /tmp/foo.pp
=>> echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment