Re: 0.24.1 puppetmaster skips new config with syntax errors?

Nigel Kersten
Tue, 12 Feb 2008 19:51:01 -0000

On Feb 12, 2008 9:27 AM, Mark Plaksin <happy@usg.edu> wrote:

>
> (I finally have a pre-commit hook in place so I shouldn''t run into
this
> situation any more :)
>


One thing I noticed that I wasn''t sure if it was a bug or not was that
puppetmasterd --parseonly ignores modules if you''re not explicitly
importing
the init.pp files with globbing.

I ended up setting up a parseonly.pp file and class that does explicitly
parse them like:

puppetmasterd --parseonly --verbose --confdir="${confdir}"
--manifest="${confdir}/manifests/parseonly.pp"

class parseonly {
  import "../../modules/*/manifests/init.pp"
}

include parseonly

import "site.pp"


Should this be considered a bug ?

--
Nigel Kersten
Systems Administrator
MacOps


_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com