jhoblitt / puppet-ganglia

Manages ganglia gmond & gmetad daemons + web front end
Other
12 stars 34 forks source link

tax error at 'ganglia_ip'; expected '}' at /etc/puppet/manifests/site.pp:96 on node puppet.com #38

Closed mh54 closed 9 years ago

mh54 commented 9 years ago

I'm new to puppet. When I install the ganglia module I keep getting the following error tax error at 'ganglia_ip'; expected '}' at /etc/puppet/manifests/site.pp:96 on node puppet.com Here's a copy of my site.pp. $clusters = [ { name => 'puppet', address => ['node001.com'], }, ] class{ 'ganglia::gmetad': clusters => $clusters, gridname => 'my grid', }

class ganglia::web {

class{ 'ganglia::web':

class{ 'ganglia::web':

$ganglia_ip = '127.0.0.1', $ganglia_port = 8652,

jhoblitt commented 9 years ago

@mh54 It appears that you have $ signs and =s in your parameter declarations for ganglia::web, which is invalid puppet syntax. It should be something like

class{ 'ganglia::web':
  ganglia_ip => '127.0.0.1',
  ganglia_port => 8652,
}