a while ago I wrote manitest - http://github.com/ohadlevy/manitest
another option is to use Brice puppet-load tool (didnt try it myself). Ohad On Tue, Aug 3, 2010 at 8:50 AM, Jon Wilson <[email protected]> wrote: > Hiya, > > Is there a way I can easily generate the catalog for a particular > puppet client, without actually running Puppet on that client? > > I'd like to write some unit tests for my Puppet master, which generate > catalogs for a set of clients, and check their content. This will > syntax & sanity check my manifests, without getting stuck in > certificate hell. > > My current issues: > > 1) I can't see any obvious command line options that will do this for > me > 2) The facter output from the client will not be available, and may > need to be faked or simulated somehow > > My environment is Centos 5 Linux, Puppet 0.25.4, Facter 1.5.7, Ruby > 1.8.5. > > Thanks, > > Jon > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<puppet-users%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
