adamou s. nacer schrieb: > Hi all, > I am new to puppet and also newcomer in this group. > I heart good things about puppet and I decided to give it a try 2 weeks now. > After reading various documentation, I began using the complete > configuration collection of puppet modules (thanks to David).
I'm glad it is of use to you! > But I have a problem with the munin module. It works fine, except that it > seems to not export virtual ressources. Let me give more detail about my > configuration: > I use puppet version 0.24 on debian etch. > here is my puppet.conf file content [looks fine] > manifests/site.pp file > # site.pp > > $munin_allow='192.168.127.103' > import "modules.pp" > > where manifests/modules.pp has > # modules.pp > > import "common" > import "munin" > > and finally manifests/nodes.pp > # nodes.pp > > node puppet { > include munin::client > } > > node backuppc { > include munin::client > } > > node munin { > include munin::host > include munin::client > } > > > I followed all the other instructions given in munin and common modules > READMEs. > But when I run on the master the following command: > puppetd --server puppet.cm.auf --waitforcert 60 --test > all is fine, but I can't see any exported resource in the database. The only resource exported and collected by the munin module is the ${NODESDIR}/${name}_${munin_port_real} File in munin::register, which is created by munin::client and collected by munin::host. There were some recent changes to export/collect (which is still experimental) and I'm not 100% sure whether or not this would be affected. > But if I add the following line in the nodes.pp file for the node > representing the puppet master > munin::plugin { df_abs: } > so that it looks like this > > node puppet { > include munin::client > munin::plugin { df_abs: } > } > and rerun the above command, I have this error message > puppet:/etc/puppet# puppetd --server puppet.cm.auf --waitforcert 60 --test > info: Loading fact netmask > info: Loading fact interfaces > info: Loading fact acpi_available > info: Retrieving plugins > notice: /File[/var/lib/puppet/lib]/checksum: checksum changed '{mtime}Tue > Nov 04 18:01:28 +0000 2008' to '{mtime}Tue Nov 04 22:14:28 +0000 2008' > info: Loading fact netmask > info: Loading fact interfaces > info: Loading fact acpi_available > err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed with > error ArgumentError: Duplicate definition: Munin::Plugin[df_abs] is already > defined in file /etc/puppet/modules/munin/manifests/plugin.pp at line 109; > cannot redefine at /etc/puppet/manifests/nodes.pp:5 on node puppet.cm.auf > warning: Not using cache on failed catalog The df_abs plugin is in the set of automatically defined plugins and puppet rightly complains that it doesn't want to manage the plugin twice. Regards, DavidS --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---