I did the => as you were posting but still got the same error... On Friday, November 22, 2013 10:20:04 AM UTC-8, Ken Barber wrote:
> Missing a > on the line with $somevariable ...? For example it should be: > > node 'somenode' { > class { 'someclass': > $somevariable => "somevalue", > } > } > > On Fri, Nov 22, 2013 at 6:18 PM, Stuart Cracraft > <smcra...@gmail.com<javascript:>> > wrote: > > 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...@googlegroups.com <javascript:>. > > 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. > -- 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/64bffdb5-36e5-4b3e-96c4-d0e71e3f5526%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.