I am getting this when I run my modules with Satellite and puppet . I have the puppet agent installed and alot of stuff is working right, but I have this nagging problem I am not sure how to fix.
rror: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Class[Jboss::Internal::Runtime::Dc] is already declared; cannot redeclare at /etc/puppet/environments/KT_satprod_Library_SOE_PCI_5/modules/jboss/manifests/domain/controller.pp:14 on node jbosscontroller.prod.int.ACMEE.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I am thinking that I need to know where
Class[**Jboss::Internal::Runtime::Dc**] is already declared
would this be in the same file or what is the scope of where it is declared ?
I am more that a little lost on this
also something very strange
IN THE ERROR: Duplicate declaration: Class[Jboss::Internal::Runtime::Dc]
NOTE THE CAPITAL "D" but in the file that is referenced in the error the d is NOT capitalized , why ?
vi controller.pp
# == Class: jboss::domain::controller
#
# This class will setup parameters for JBoss server to run as controller of the domain. It
# has no parameters. This class must be used before main JBoss class fo ex.:
#
# include jboss::domain::controller
# class { 'jboss':
# enableconsole => true,
# }
#
class jboss::domain::controller {
class { 'jboss::internal::runtime::dc':
runs_as_controller => true,
thanks for any help you can give on this , dont assume anything , I am a very experienced IT guy but have little knowledge on this stuff
THANKS!!!!!!!
↧