On Thursday, March 21, 2013 2:10:20 PM UTC-7, John Smith wrote: > > On Thursday, March 21, 2013 1:58:10 PM UTC-7, Ellison Marks wrote: > >> And just to have an answer on the list as well, the syntax in the docs is >> correct. Though it might be class { "system::ntp" in your case. Not sure of >> the specifics of that module. >> >> >> http://docs.puppetlabs.com/puppet/3/reference/lang_classes.html#using-resource-like-declarations >> >> >>> I'm just trying to call his ntp module now and have removed system. I > still can't make it work... Here's my code > > <snip> > include ntp > > class ntp { 'ntp': >
This syntax is incorrect. Not "class ntp { 'ntp'". Just "class { 'ntp'", like it says in the docs. If that's giving you an error, post it. > servers => [ 'ntp1.domain.com', 'ntp2.domain.com' ], > } > <endsnip> > > and here's my error: > Could not parse for environment dev: Syntax error at ':'; expected '}' at > /etc/puppet/manifests/site.pp:35 on node > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.