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