Hi Felix,

I was able to resolve the issue by specifying the right modulepath option
in the puppet apply command.

Thanks,
Maruti.

On Fri, Feb 12, 2016 at 4:41 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:

> On 01/28/2016 12:22 PM, Maruti Gangumolu wrote:
>
>> Thanks Dirk! It worked. I'm still facing with module class file. When I'm
>> invoking site.pp -> nodes.pp -> init.pp manifest files I'm getting an error
>> that apache class is not found. Could you please help me with it?
>>
>> # Manage apache tomcat v8 application server
>> class apache {
>>  package { 'Tomcat8' :
>>   ensure => present,
>>   source => 'C:/Maruti/Puppet/apache-tomcat-8.0.30.exe',
>>   install_options => ['/S','/D=C:\Maruti\Puppet\apache-tomcat-8'],
>>   description => 'Installing tomcat v8.0.30 on windows system',
>>  }
>> }
>>
>
> Hi,
>
> where did you create that `class apache`?
>
> Ideally, you should put it into a custom module such as 'site' or 'local'
> and call it local::apache. It might even go into your profiles module as
> profile::apache.
>
> Have you completed the training VM course?
>
> HTH,
> Felix
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/7uqvM8X794Q/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/56BD1505.7030607%40Alumni.TU-Berlin.de
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAKu269ixDXi5%3DaJDOZJYwJzGNxvdGmEOYSWX_P1%2BPJCEi6PJ2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to