On Jul 4, 3:48 pm, imase <[email protected]> wrote: > Hello together, > > I have problems with my Puppet installation. I use example42 Modules > as the base of my own Modules for automated deployment of Rational > Application Developer.
> One of my Nodes is an tomcat server with the following includes > > include mysql::client > include tcserver > include general > > An other Node is a client for Rational Application developer with > following Includes > > include rad > include general > > Now, if i run puppet on the puppet master and tomcat server I get some > overlaps with the rad class. It looks like this: > > PuppetMaster: > > rad::reqdir/File[/opt/software]/ensure: created > ... > These are Directories only for rad class, but not for the others. Looks like your Tomcat v00404.sbb.ch node is somehow getting a "include rad", which is causing the duplicate Package clash in the "tcserver" module, confirm this by running the following on the v00404.sbb.ch node: grep rad /var/lib/puppet/classes.txt Is the "rad" module something you wrote yourself? Does "general" include "rad"? Can you post your node definitions (site.pp / node.pp). It's not a bug, basically you're going to have to crawl through your node and class definitions and find out how "rad" is included on the same node as "tcserver". A better idea is to make your "rad" module (assuming it's yours and not Example42) fit better with "tcserver" by pulling Package["redhat- lsb"] out into a separate class. > TomcatServer: > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Duplicate definition: Package[redhat-lsb] is already defined > in file /var/data/puppet/environments/production/puppet4set/modules/ > rad/manifests/reqpkg.pp at line 44; cannot redefine at /var/data/ > puppet/environments/production/puppet4set/modules/tcserver/manifests/ > init.pp:33 on node v00404.sbb.ch > > Is there maybe a bug in version 2.6.9? > > Thanks > > imase -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
