On Jun 14, 2011, at 9:35 AM, R.I.Pienaar wrote:

> The error message says:
> 
> err: Could not parse for environment production: Syntax error at '.'; 
> expected '}' at /etc/puppet/manifests/nodes.pp:2 on node ubuntu2.ttinet
> 
> and your file in question:
> 
>> # cat nodes.pp
>>  node 'ubuntu.ttinet' {
>>    include ntp.
>>  }
> 
> 
> So what's on line 2? a "." at the end, and the error tells you it did not 
> expect the ".".
> 
> Did you remove the "."?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

----
the period was indeed a typo but I had to remove the ',' (comma) as well to 
make it work. It finally worked! I guess you always need the commas except when 
they toss you errors.

I'm sure I will have more questions but I will exhaust Google and the 
documentation first. I've been able to install packages now and see somewhat 
where this is leading.

Thanks all

Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to