Re: 0.24.1 puppetmaster skips new config with syntax errors?

Andrew Otto
Wed, 13 Feb 2008 04:38:37 -0000

I''ve also seen this behavior, it happens for me in exactly the same
way.

On Feb 13, 2008, at 12:27 AM, Mark Plaksin wrote:

> Is puppetmaster supposed to ignore manifest changes when those changes
> include syntax errors?  And then it does notice when I restart
> puppetmaster?  That''s what seems to be happening to me.
>
> For example, if I put a syntax error in my.pp and then test a client
> against the the master I get no complaints.  If I restart puppetmaster
> and retest the client says "Ack!  Syntax error!".
>
> I could sort of see this being a feature--puppetmaster refuses to
> acknowledge new configs that have syntax errors.  But since it *does*
> notice on restart it''s possible to have syntax errors waiting to
bite
> you.
>
> (I finally have a pre-commit hook in place so I shouldn''t run into
> this
> situation any more :)
>
> This is with 0.24.1 client and server both running on RHEL 5.
>
> _______________________________________________
> Puppet-users mailing list
> Puppet-users@madstop.com
> https://mail.madstop.com/mailman/listinfo/puppet-users