I'm trying my hand at my first exported resource. In fact, this comes from converting an older resource to an exported one, which might explain the problem....
Currently, I have two classes: class yum { File <<| tag == 'repofile' |>> ~> Exec['yum clean all'] : } class yum::foo { include yum @@file { 'foo-yum': tag => 'repofile', path => '/etc/yum.repos.d/foo.repo', ensure => file, source => 'puppet:///modules/yum/foo.repo', } } When I try to run this by including yum::foo in a class, I get this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Another local or imported resource exists with the type and title File[foo-repofile] on node osem2.foo.net Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run # So I go looking for anything containing foo-repofile: # cd /etc/puppet/modules && find . -type f | xargs grep foo-repofile # ORIGINALLY, this resource was called foo-repofile, but at that time, it was in a different module and wasn't exported. How can I purge that from PuppetDB so it gets over it and lets me use this new one? Or is the the problem somewhere or something else? Thanks! Bret -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/997d02b2-82bd-42af-8a3d-01522a4ee72f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.