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

Puppet lint syntax error - puppet parser validate no issues #746

Closed
cdenneen opened this issue Sep 14, 2017 · 3 comments
Closed

Puppet lint syntax error - puppet parser validate no issues #746

cdenneen opened this issue Sep 14, 2017 · 3 comments

Comments

@cdenneen
Copy link

site/role/manifests/web.pp:8:syntax:ERROR:Syntax error 
(try running `puppet parser validate <file>`)

  include ::monitoring_scripts
           ^
#description
class role::web{
  include ::profile::web
  include ::profile_base::windows
  include ::profile::scheduledtask
  include ::profile::regedit
  #lint:ignore:roles_and_profiles
  include ::monitoring_scripts
  #lint:endignore
}
  * puppet-lint (2.3.0)
  * puppet-lint-absolute_classname-check (0.2.4)
  * puppet-lint-classes_and_types_beginning_with_digits-check (0.1.2)
  * puppet-lint-empty_string-check (0.2.2)
  * puppet-lint-leading_zero-check (0.1.1)
  * puppet-lint-trailing_comma-check (0.3.2)
  * puppet-lint-undef_in_function-check (0.2.1)
  * puppet-lint-unquoted_string-check (0.3.0)
  * puppet-lint-variable_contains_upcase (1.2.0)
  * puppet-lint-version_comparison-check (0.2.1)
>> be puppet parser validate site/role/manifests/web.pp --debug --trace --verbose
Debug: Runtime environment: puppet_version=4.10.1, ruby_version=2.1.8, run_mode=user, default_encoding=UTF-8
@cdenneen
Copy link
Author

Looks like this is fixed in master... can we get a release? @rodjek think you fixed this first commit after the 2.3.0 release...

@cdenneen
Copy link
Author

Looks like fixed in c6fc417

@cdenneen
Copy link
Author

Closing looks like some non-printing character is causing the issue... but it was fixed with that commit... not sure why that patch fixes the non-printing character issue

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