I have module, for which if I add the class in the UI and run the agent 
with --test it fails with the following error. But If I just add the 
include <classname> in the init class and run, it works. Any idea?


Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Duplicate declaration: Class[classname] is already declared; cannot 
redeclare on node nfaxen-ubu1.fqdn
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

-- 
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/142a44e2-e6bc-4658-82b5-a616275466ac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to