Issue #16911 has been updated by Henrik Lindberg.
This is nasty, it is a hard syntax error due an upper case letter and there is no way a better error message can be generated without relaxing the grammar and moving the check to validation of the parsed model. ---------------------------------------- Bug #16911: include of class using initial upper case letter fails with bad error message - Error: Syntax error at '}'; expected '}' https://projects.puppetlabs.com/issues/16911#change-73461 Author: Branan Purvine-Riley Status: Unreviewed Priority: Normal Assignee: Category: compiler Target version: Affected Puppet version: Keywords: Branch: Full error string: `Error: Syntax error at '}'; expected '}' at /tmp/vagrant-puppet/modules-0/jenkins/manifests/agent.pp:7 ` agent.pp contains the following class jenkins::agent{ include agent::home include agent::config case $operatingsystem { 'centos': { include agent::centos } 'Redhat': { include agent::Redhat } 'ubuntu': { include agent::ubuntu } 'Debian': { include agent::debian } } Class["agent::home"] -> Class["agent::config"] } -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
