When I have the two classes in my node definition
xldeploy::client
xldeploy::server
in order to install xldeploy server and register a target host through yaml in xldeploy registry, I get the following error.
[root@xxragent ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Xldeploy_check_connection[default] is already declared in file /etc/puppetlabs/code/environments/production/modules/xldeploy/manifests/client/config.pp:32; cannot redeclare at /etc/puppetlabs/code/environments/production/modules/xldeploy/manifests/server/post_config.pp:25 at /etc/puppetlabs/code/environments/production/modules/xldeploy/manifests/server/post_config.pp:25:3 on node xxragent.home
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@xxragent ~]#
When I have the two classes in my node definition xldeploy::client xldeploy::server in order to install xldeploy server and register a target host through yaml in xldeploy registry, I get the following error.
The yaml file: