-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to work with puppet-lint >= 2.4
puppet-lint 2.4 introduced what was supposed to be a non-breaking change that fixed how interpolated expressions were tokenised, but this unfortunately broke the check in this plugin (I'm going to have to rethink how plugins factor into my change classifications for semver purposes). Anyway, this PR should fix up the issues with this plugin and puppet-lint 2.4.x by extending the existing logic to handle cases where variables like `$facts['osfamily']` are represented internally as a sequence of tokens rather than a single token.
- Loading branch information
Showing
3 changed files
with
59 additions
and
20 deletions.
There are no files selected for viewing
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
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
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