Grzegorz Marszałek
2008-Apr-24 13:40 UTC
[Puppet Users] problem with apache2 recipe and puppet 0.24.4
Hello! I''m trying to use apache2 recipe, exatcly code kindly provided at http://wesabe.googlecode.com/svn/trunk/puppet/modules/apache2/trunk/ - it works greate (thank you guys :), but... Puppet from time to time throws following error: err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: File[] is already defined in file /etc/puppet/modules/apache2/manifests/init.pp at line 72; cannot redefine at /etc/puppet/modules/apache2/manifests/init.pp: 80 on node linuxclient.c0000.local Funny thing is - next time I run it (with puppetd --test) it works perfectly. I''m rather confused there... My puppet is: 0.24.4 I use this code as this: node linuxclient { include "apache2::debian" } and then in one of my classes: class nagios3-server { apache2::config { "nagios3": ensure =3D> present, content =3D> template("nagios-server/bbox/nagios- apache2.conf.erb") } ... } Any idea what''s up? --- Grzegorz Marszałek graf0@post.pl --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---