Duplicate declaration

19 views
Skip to first unread message

Raj kumar V

unread,
Nov 27, 2013, 4:32:18 AM11/27/13
to puppet...@googlegroups.com
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

Raj kumar V

unread,
Nov 27, 2013, 7:35:26 AM11/27/13
to puppet...@googlegroups.com
I read the JCBollingers advice and removed the Class[blah blah] stuff and it worked...
Reply all
Reply to author
Forward
0 new messages