Hi Raj, you can do smoketsts for your module http://docs.puppetlabs.com/guides/tests_smoke.html
Simply use your module (e.g. by include <modulename>) The you run a local puppet apply <smoketestfile> —noop —noop ensures that you simulate the puppet run only. hth, Martin On 20 Nov 2013, at 11:34, Raj kumar V <[email protected]> wrote: > Hi There, > > I am kind of lost, understood something wrong. I have written a module. > Now how can I test this module? Do I need to copy it to agent or server? Is > it possible to test it as a standalone module where I have a machine with > puppet agent or server installed? It is a simple module I dont want > complicate things with cucumber or some rspec etc. > > How can I test it with puppet apply command? When I run this it say > everything complied but no work done and no errors too. > > Thanks > Raj > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/5ef065b1-8a57-4f40-a43c-3e989da23101%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/FDE776E1-0F86-4682-BF29-6C2308F66E42%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
