Issue #16911 has been updated by Henrik Lindberg.

Target version set to 4.0.0

This is fixed in the future parser. Setting target version to 4.

----------------------------------------
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-98483

* Author: Branan Purvine-Riley
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: parser
* Target version: 4.0.0
* 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to