Martin,

   Still same no work done or no errors.

To explain further, simply I wrote a module. Nad it is inside 
/etc/puppetlabs/puppet/modules/<mymodule>

2 files: init.pp and params.pp

when I compile or execute it

root@nfaxen-ubu1:/etc/puppetlabs/puppet/modules/site24x7# puppet apply 
init.pp
Notice: Compiled catalog for nfaxen-ubu1.csez.zohocorpin.com in environment 
production in 0.06 seconds
Notice: Finished catalog run in 0.27 seconds

Thts the output and no work done.

Are you saying I have to create a another pp file and add this in <include 
mymodule> and execute it with --noop?



On Wednesday, 20 November 2013 16:14:33 UTC+5:30, Martin Alfke wrote:
>
> 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] <javascript:>> 
> 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] <javascript:>. 
> > 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/3e6e08c5-2047-4424-9581-435909d23fbc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to