Re: [Puppet Users] Error: Could not find class apache

2016-01-30 Thread Maruti Gangumolu
Thanks All,

Finally it worked for me. I gave wrong path for modulepath.

Thanks,
Maruti.

On Thu, Jan 28, 2016 at 1:48 AM, Maruti Gangumolu <
maruti.gangum...@gmail.com> wrote:

> The behaviour was same!
> --
> From: Frederik Bjerggaard Nielsen 
> Sent: ‎27-‎01-‎2016 16:56
> To: Puppet Users 
> Subject: Re: [Puppet Users] Error: Could not find class apache
>
> What if you try running:
>
> puppet apply C:\Maruti\Puppet\manifests\site.pp
> --modulepath C:\Maruti\Puppet\modules
>
> Den tirsdag den 26. januar 2016 kl. 15.32.07 UTC+1 skrev Maruti Gangumolu:
>>
>> Hi Lowe,
>>
>> Here are the details
>>
>> This is the directory structure for manifests file site.pp and nodes.pp
>>  :-  "C:\Maruti\Puppet\manifests"
>>
>> The is the code for site.pp file
>>
>> import 'nodes.pp'
>>
>> This is the code for nodes.pp file
>>
>> node 'IMIBLRKA1030' {
>>  include apache
>> }
>>
>> 
>>
>> This is the directory structure for module's manifests file  init.pp :-
>> "C:\Maruti\Puppet\modules\apache\manifests"
>> This is the code for init.pp file
>>
>> # 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',
>>  }
>> }
>>
>> and I'm invoking site.pp file using puppet apply command as mentioned
>> below and getting class apache is not found.
>>
>> C:\>puppet apply C:\Maruti\Puppet\manifests\site.pp
>> Warning: The use of 'import' is deprecated at
>> C:/Maruti/Puppet/manifests/site.pp
>> :1. See http://links.puppetlabs.com/puppet-import-deprecation
>>(at C:/Program Files/Puppet
>> Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
>> rt.rb:110:in `import')
>> Error: Could not find class apache for x on node imiblrka
>> Error: Could not find class apache for x on node imiblrka
>>
>> Thanks,
>> Maruti.
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jan 26, 2016 at 1:41 AM, Maruti Gangumolu 
>> wrote:
>>
>>> Hi Team,
>>>
>>> I'm new to puppet coding and I'm trying to install apache tomcat using
>>> class which is being included in nodes.pp file.
>>>
>>> I'm getting this error message when running site.pp file
>>>
>>> C:\ABC\Puppet\manifests>puppet apply C:\ABC\Puppet\manifests\site.pp
>>> Warning: The use of 'import' is deprecated at
>>> C:/ABC/Puppet/manifests/site.pp
>>> :1. See http://links.puppetlabs.com/puppet-import-deprecation
>>>(at C:/Program Files/Puppet
>>> Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
>>> rt.rb:110:in `import')
>>> Error: Could not find class apache for  on node imiblr
>>> Error: Could not find class apache for  on node imiblr
>>>
>>> Could you please help me in fixing this issue?
>>>
>>> --
>>> 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/tIS3pSfnrSQ/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> puppet-users...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/puppet-users/2a28a925-5fd8-4d2e-992d-c4df22e944b4%40googlegroups.com
>>> <https://groups.google.com/d/msgid/puppet-users/2a28a925-5fd8-4d2e-992d-c4df22e944b4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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/tIS3pSfnrSQ/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/97d63042-b137-4633-a3c6-778b9a7001ca%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/97d63042-b137-4633-a3c6-778b9a7001ca%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAKu269h508CjhLpdpucL2TwZuMu8qBOfpQjPveXxugnPRLGrJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [Puppet Users] Error: Could not find class apache

2016-01-27 Thread Maruti Gangumolu
The behaviour was same!

-Original Message-
From: "Frederik Bjerggaard Nielsen" 
Sent: ‎27-‎01-‎2016 16:56
To: "Puppet Users" 
Subject: Re: [Puppet Users] Error: Could not find class apache

What if you try running:


puppet apply C:\Maruti\Puppet\manifests\site.pp --modulepath 
C:\Maruti\Puppet\modules

Den tirsdag den 26. januar 2016 kl. 15.32.07 UTC+1 skrev Maruti Gangumolu:
Hi Lowe,


Here are the details


This is the directory structure for manifests file site.pp and nodes.pp  :-  
"C:\Maruti\Puppet\manifests"


The is the code for site.pp file


import 'nodes.pp'


This is the code for nodes.pp file


node 'IMIBLRKA1030' {
 include apache
}





This is the directory structure for module's manifests file  init.pp :- 
"C:\Maruti\Puppet\modules\apache\manifests"
This is the code for init.pp file


# 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', 
 }
}


and I'm invoking site.pp file using puppet apply command as mentioned below and 
getting class apache is not found.


C:\>puppet apply C:\Maruti\Puppet\manifests\site.pp
Warning: The use of 'import' is deprecated at C:/Maruti/Puppet/manifests/site.pp
:1. See http://links.puppetlabs.com/puppet-import-deprecation
   (at C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
rt.rb:110:in `import')
Error: Could not find class apache for x on node imiblrka
Error: Could not find class apache for x on node imiblrka



Thanks,
Maruti.












On Tue, Jan 26, 2016 at 1:41 AM, Maruti Gangumolu  wrote:

Hi Team,


I'm new to puppet coding and I'm trying to install apache tomcat using class 
which is being included in nodes.pp file. 


I'm getting this error message when running site.pp file


C:\ABC\Puppet\manifests>puppet apply C:\ABC\Puppet\manifests\site.pp
Warning: The use of 'import' is deprecated at C:/ABC/Puppet/manifests/site.pp
:1. See http://links.puppetlabs.com/puppet-import-deprecation
   (at C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
rt.rb:110:in `import')
Error: Could not find class apache for  on node imiblr
Error: Could not find class apache for  on node imiblr


Could you please help me in fixing this issue?

-- 
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/tIS3pSfnrSQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
puppet-users...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2a28a925-5fd8-4d2e-992d-c4df22e944b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



-- 
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/tIS3pSfnrSQ/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/97d63042-b137-4633-a3c6-778b9a7001ca%40googlegroups.com.
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/56a92628.cd59620a.11eb0.74f3%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Error: Could not find class apache

2016-01-27 Thread Frederik Bjerggaard Nielsen
What if you try running:

puppet apply C:\Maruti\Puppet\manifests\site.pp 
--modulepath C:\Maruti\Puppet\modules

Den tirsdag den 26. januar 2016 kl. 15.32.07 UTC+1 skrev Maruti Gangumolu:
>
> Hi Lowe,
>
> Here are the details
>
> This is the directory structure for manifests file site.pp and nodes.pp 
>  :-  "C:\Maruti\Puppet\manifests"
>
> The is the code for site.pp file
>
> import 'nodes.pp'
>
> This is the code for nodes.pp file
>
> node 'IMIBLRKA1030' {
>  include apache
> }
>
> 
>
> This is the directory structure for module's manifests file  init.pp :- 
> "C:\Maruti\Puppet\modules\apache\manifests"
> This is the code for init.pp file
>
> # 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', 
>  }
> }
>
> and I'm invoking site.pp file using puppet apply command as mentioned 
> below and getting class apache is not found.
>
> C:\>puppet apply C:\Maruti\Puppet\manifests\site.pp
> Warning: The use of 'import' is deprecated at 
> C:/Maruti/Puppet/manifests/site.pp
> :1. See http://links.puppetlabs.com/puppet-import-deprecation
>(at C:/Program Files/Puppet 
> Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
> rt.rb:110:in `import')
> Error: Could not find class apache for x on node imiblrka
> Error: Could not find class apache for x on node imiblrka
>
> Thanks,
> Maruti.
>
>
>
>
>
>
>
> On Tue, Jan 26, 2016 at 1:41 AM, Maruti Gangumolu  > wrote:
>
>> Hi Team,
>>
>> I'm new to puppet coding and I'm trying to install apache tomcat using 
>> class which is being included in nodes.pp file. 
>>
>> I'm getting this error message when running site.pp file
>>
>> C:\ABC\Puppet\manifests>puppet apply C:\ABC\Puppet\manifests\site.pp
>> Warning: The use of 'import' is deprecated at 
>> C:/ABC/Puppet/manifests/site.pp
>> :1. See http://links.puppetlabs.com/puppet-import-deprecation
>>(at C:/Program Files/Puppet 
>> Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
>> rt.rb:110:in `import')
>> Error: Could not find class apache for  on node imiblr
>> Error: Could not find class apache for  on node imiblr
>>
>> Could you please help me in fixing this issue?
>>
>> -- 
>> 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/tIS3pSfnrSQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> puppet-users...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/2a28a925-5fd8-4d2e-992d-c4df22e944b4%40googlegroups.com
>>  
>> 
>> .
>> 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/97d63042-b137-4633-a3c6-778b9a7001ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Error: Could not find class apache

2016-01-26 Thread Maruti Gangumolu
Hi Lowe,

Here are the details

This is the directory structure for manifests file site.pp and nodes.pp  :-
 "C:\Maruti\Puppet\manifests"

The is the code for site.pp file

import 'nodes.pp'

This is the code for nodes.pp file

node 'IMIBLRKA1030' {
 include apache
}



This is the directory structure for module's manifests file  init.pp :-
"C:\Maruti\Puppet\modules\apache\manifests"
This is the code for init.pp file

# 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',
 }
}

and I'm invoking site.pp file using puppet apply command as mentioned below
and getting class apache is not found.

C:\>puppet apply C:\Maruti\Puppet\manifests\site.pp
Warning: The use of 'import' is deprecated at
C:/Maruti/Puppet/manifests/site.pp
:1. See http://links.puppetlabs.com/puppet-import-deprecation
   (at C:/Program Files/Puppet
Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
rt.rb:110:in `import')
Error: Could not find class apache for x on node imiblrka
Error: Could not find class apache for x on node imiblrka

Thanks,
Maruti.







On Tue, Jan 26, 2016 at 1:41 AM, Maruti Gangumolu <
maruti.gangum...@gmail.com> wrote:

> Hi Team,
>
> I'm new to puppet coding and I'm trying to install apache tomcat using
> class which is being included in nodes.pp file.
>
> I'm getting this error message when running site.pp file
>
> C:\ABC\Puppet\manifests>puppet apply C:\ABC\Puppet\manifests\site.pp
> Warning: The use of 'import' is deprecated at
> C:/ABC/Puppet/manifests/site.pp
> :1. See http://links.puppetlabs.com/puppet-import-deprecation
>(at C:/Program Files/Puppet
> Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
> rt.rb:110:in `import')
> Error: Could not find class apache for  on node imiblr
> Error: Could not find class apache for  on node imiblr
>
> Could you please help me in fixing this issue?
>
> --
> 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/tIS3pSfnrSQ/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/2a28a925-5fd8-4d2e-992d-c4df22e944b4%40googlegroups.com
> 
> .
> 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/CAKu269jka%3D-Ba7pEEUFAf-qQr-0Zfa%2B-_tvdZ6HO6pjb8ikFCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Error: Could not find class apache

2016-01-26 Thread Lowe Schmidt
You will have to show us the relevant puppet code and link to the module
you are using.

Also read the link in the error message.


--
Lowe Schmidt | +46 723 867 157

On 25 January 2016 at 21:11, Maruti Gangumolu 
wrote:

> Hi Team,
>
> I'm new to puppet coding and I'm trying to install apache tomcat using
> class which is being included in nodes.pp file.
>
> I'm getting this error message when running site.pp file
>
> C:\ABC\Puppet\manifests>puppet apply C:\ABC\Puppet\manifests\site.pp
> Warning: The use of 'import' is deprecated at
> C:/ABC/Puppet/manifests/site.pp
> :1. See http://links.puppetlabs.com/puppet-import-deprecation
>(at C:/Program Files/Puppet
> Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
> rt.rb:110:in `import')
> Error: Could not find class apache for  on node imiblr
> Error: Could not find class apache for  on node imiblr
>
> Could you please help me in fixing this issue?
>
> --
> 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/2a28a925-5fd8-4d2e-992d-c4df22e944b4%40googlegroups.com
> 
> .
> 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/CAC-wWcQP_qK7Zd52Hwd0xfmm-XC%2Bm%2ByQtdmZmM5Oz-i1BzGAWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Error: Could not find class apache

2016-01-25 Thread Maruti Gangumolu
Hi Team,

I'm new to puppet coding and I'm trying to install apache tomcat using 
class which is being included in nodes.pp file. 

I'm getting this error message when running site.pp file

C:\ABC\Puppet\manifests>puppet apply C:\ABC\Puppet\manifests\site.pp
Warning: The use of 'import' is deprecated at 
C:/ABC/Puppet/manifests/site.pp
:1. See http://links.puppetlabs.com/puppet-import-deprecation
   (at C:/Program Files/Puppet 
Labs/Puppet/puppet/lib/puppet/parser/parser_suppo
rt.rb:110:in `import')
Error: Could not find class apache for  on node imiblr
Error: Could not find class apache for  on node imiblr

Could you please help me in fixing this issue?

-- 
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/2a28a925-5fd8-4d2e-992d-c4df22e944b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.