Skip to content

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

Description

@WillSewell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions