Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

future_parser doesn't appear to reject puppet 3 syntax #115

Open
WillSewell opened this issue Nov 11, 2019 · 0 comments
Open

future_parser doesn't appear to reject puppet 3 syntax #115

WillSewell opened this issue Nov 11, 2019 · 0 comments

Comments

@WillSewell
Copy link

I have a Rakefile

require 'puppet-syntax/tasks/puppet-syntax'

PuppetSyntax.future_parser = true

I expect it to throw an error when I use a Puppet 3 feature not supported in Puppet 4, e.g.

node 'parent' {}

node 'child' inherits 'parent' {}

However when I run bundle exec rake, no errors are logged.

I know it is checking this file because when I make an obvious syntax change, it reports the error, whether or not PuppetSyntax.future_parser is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant