Hi Sans
i am trying it now. will let you know the output soon. Also in my site.pp i
have the below content

import 'nodes/*'
$puppetserver = 'puppet-server.domain.com'



I do have many modules , which works as expected.

Thanks,
Jeeva

cat /etc/puppet/manifests/site.pp
On Mon, Apr 16, 2012 at 5:36 AM, Sans <r.santanu....@gmail.com> wrote:

> It's definitely a class loading problem and I don't think Jeeva is using
> "modules" at all.
>
> Jeeva:
> Could you pls try the things I said in my previous post and see if that
> works? Cheers!!
>
>
>
> On Monday, April 16, 2012 1:34:31 AM UTC+1, Wil Cooley wrote:
>>
>> On Apr 13, 10:49 am, Munna S <19.mu...@gmail.com> wrote:
>> > I followed your steps. now i am getting below error
>> >
>> > Apr 13 17:42:44 pil-vm-pup-01 puppet-master[7899]: Could not find class
>> > dev_jboss_jeeva for vm-jeeva2.aircell.prod at
>>
>> ...
>>
>> > i have jeeva_base.pp file under /etc/puppet/manifests/nodes and below
>> is
>> > its content
>> > ------------------------------**--
>> > node jeeva_base {
>> >         include dev_jboss_jeeva}
>> >
>> > ------------------------------**--------
>> >
>> > also i have a another .pp file by name vm-jeeva2 under
>> > /etc/puppet/manifests/nodes and below is its content. we have seperate
>> .pp
>> > file for each server name. one server is vm-jeeva2.
>> > ------------------
>> > node vm-jeeva2 inherits jeeva_base {}
>> >
>> > --------------------
>> >
>> > what could be the problem ?
>>
>> Where is the class dev_jboss_jeeva defined? You mentioned above an
>> 'init.pp', which would be usual if you were using modules, but it does
>> not seem like you are using modules.
>>
>> It sounds like the problem you are having is wholly outside of the
>> complicated machinations of what you're trying to do. It looks more
>> like you have a much simpler class-loading problem.
>>
>> Here are a few things to try:
>>   * Comment out all of the stuff from dev_jboss_jeeva and replace it
>> with a "warning" function call, to log that everything is working
>> right:
>>   class dev_jboss_jeeva {
>>     warning("dev_jboss_jeeva has successfully loaded")
>>   }
>>   * Copy your class dev_jboss_jeeva { ... } right before the "node
>> jeeva_base" and see if you see your warning message (I suggest warning
>> instead of info because info sometimes requires using --verbose on the
>> command line; warning will always show):
>>   class dev_jboss_jeeva {
>>     warning("dev_jboss_jeeva was here")
>>   }
>>   node jeeva_base {
>>     include dev_jboss_jeeva
>>   }
>>
>> If you see the message with the class defined right before the node,
>> but not wherever else you have it, then you know the problem is that
>> it is unable to actually find the class and you should give specifics
>> about that instead.
>>
>> Wil
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/_Puid9FxhfAJ.
>
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> 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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to