Created
October 20, 2012 00:15
-
-
Save lindenle/3921393 to your computer and use it in GitHub Desktop.
puppet parser validate issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=>> 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