hello,all. Is there a have some tools to check the puppet manifests before to use it ? like nagios -v nagios.cfg .the new version puppet client can''t get error syntax message,so ,when have some syntax error I can''t found it. -- Huang Mingyou
huang mingyou wrote:> hello,all. > Is there a have some tools to check the puppet manifests before > to use it ? like nagios -v nagios.cfg .the new version puppet client > can''t get error syntax message,so ,when have some syntax error I can''t > found it. >See the --parseonly option. Regards James Turnbull -- James Turnbull <james@lovedthanlost.net> --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
You can try puppetd --test on client to see any syntax error on client on server you can user this aswell as puppetmasterd --verbose. -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of huang mingyou Sent: Monday, October 01, 2007 5:21 PM To: puppet-users@madstop.com Subject: [Puppet-users] Is there have a synctax check tool ? hello,all. Is there a have some tools to check the puppet manifests before to use it ? like nagios -v nagios.cfg .the new version puppet client can''t get error syntax message,so ,when have some syntax error I can''t found it. -- Huang Mingyou _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On 10/1/07, James Turnbull <james@lovedthanlost.net> wrote:> > > See the --parseonly option.We''re using that here actually as a trigger on the code repository that contains our puppet config. It''s really nice to have the syntax validated before you email your team on any changes you''ve made.... :) -- Nigel Kersten MacOps @ Google "Two kinds of Kool-Aid" _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
Has anyone started on an IDE or editor plugin (E.G. Eclipse, Geany, etc)? The Ruby ones come close. -- bk Deepak Naidu wrote:> You can try puppetd --test on client to see any syntax error on client > on server you can user this aswell as puppetmasterd --verbose. > > -- > Deepak > > -----Original Message----- > From: puppet-users-bounces@madstop.com > [mailto:puppet-users-bounces@madstop.com] On Behalf Of huang mingyou > Sent: Monday, October 01, 2007 5:21 PM > To: puppet-users@madstop.com > Subject: [Puppet-users] Is there have a synctax check tool ? > > hello,all. > Is there a have some tools to check the puppet manifests before > to use it ? like nagios -v nagios.cfg .the new version puppet client > can''t get error syntax message,so ,when have some syntax error I can''t > found it. > >
Bryan Kearney wrote:> Has anyone started on an IDE or editor plugin (E.G. Eclipse, Geany, > etc)? The Ruby ones come close. >There are syntax highlight plugins/modes for both emacs and vim in the Puppet package in the ext directory. Regards James Turnbull -- James Turnbull <james@lovedthanlost.net> --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users