You've got a full stop '.' at the include ntp line.

Cheers,
Den

On 15/06/2011, at 2:30, Craig White <craig.wh...@ttiltd.com> wrote:

> 
> On Jun 14, 2011, at 8:33 AM, Peter Bukowinski wrote:
> 
>> Try quoting your node names, e.g.
>> 
>> node 'ubuntu2.ttinet' {
> ----
> trying to keep this as simple as possible just to get one client to work.
> 
> # cat site.pp
> import "templates"
> import "nodes"
> 
> # cat nodes.pp
>  node 'ubuntu.ttinet' {
>    include ntp.
>  }
> 
>  node 'ubuntu2.ttinet' {
>    include ntp,
>  }
> 
> # cat templates.pp 
> class baseclass {
> }
> 
> node default {
>    include baseclass
> }
> 
> info: Not using expired node for ubuntu2.ttinet from cache; expired at Tue 
> Jun 14 09:23:28 -0700 2011
> info: Caching node for ubuntu2.ttinet
> debug: importing '/etc/puppet/manifests/templates.pp' in environment 
> production
> debug: importing '/etc/puppet/manifests/nodes.pp' in environment production
> err: Could not parse for environment production: Syntax error at '.'; 
> expected '}' at /etc/puppet/manifests/nodes.pp:2 on node ubuntu2.ttinet
> err: Could not parse for environment production: Syntax error at '.'; 
> expected '}' at /etc/puppet/manifests/nodes.pp:2 on node ubuntu2.ttinet
> ^Cnotice: Caught INT; calling stop
> 
> quoting the node names changed nothing
> 
> If there is actually some tutorial somewhere that actually shows me what it 
> is I need to do to connect in a second computer beyond just getting the 
> certificate, please let me know but I have been working on this since last 
> Friday. I am not that stupid. I got Chef working in just 2 or 3 hours.
> 
> Thanks
> 
> 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.
> 

-- 
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