In nodes.pp I have: : node 'somenode' { class { 'someclass': <= this is line 12 $somevariable = "somevalue", } } :
My intent with this is for the somenode node to have someclass define its internal variable somevariable with somevalue. However, on the agent run, this produces the error in messages: Date/Time Host puppet-agent[pid]: Could not parse for environment production: Syntax error at 'somevariable'; expected '}' at /etc/puppet/manifests/nodes.pp:12 on node somenode My question is, where's the syntax error it is complaining about? Stuart -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7d462dd3-8d8c-480a-bef7-e3264e569382%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.