Hi, I get the error while running puppet "Error: Could not retrieve catalog from remote server

asked 2018-05-31 10:18:45 -0500

kunal_k gravatar image

updated 2018-06-01 01:00:11 -0500

Mr_Sharma gravatar image

The jpuppet version used is 3.3. This is happening with respect to autofs module. Need your help to figure out whats wrong. I ran puppet parse validate client.pp and puppet-lint client.pp. The syntax seems fine. However while running on puppet agent on client I get the above error.autofs

Error 400 on SERVER: Duplicate declaration: Class[Autofs::Client::Config] is already declared in file /etc/puppet/modules/autofs/manifests/client.pp at line 31
edit retag flag offensive close merge delete

Comments

1

Hi kunal. You'll need to add a lot more context before this question can be answered. Include the full error (since it's got files and line numbers) and the code it references.

binford2k gravatar imagebinford2k ( 2018-05-31 12:38:21 -0500 )edit
1

Kunal, you can edit your question to put more details into it.

Mr_Sharma gravatar imageMr_Sharma ( 2018-06-01 01:00:58 -0500 )edit