Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mh54 opened this issue Jan 20, 2015 · 1 comment

Comments

@mh54
Copy link

mh54 commented Jan 20, 2015

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
Copy link
Owner

@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,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants