error Could not parse for environment production Syntax error at expected at Users adrien puppetlabs-mrepo manifests repo pp 252err Try puppet help parser validate for usage

0 votes

Hi Team,

I am trying to run the puppet parser command, but it is showing me the below error.

$ puppet parser validate
err: Could not parse for environment production: Syntax error at ‘{‘; expected '}' at /Users/adrien/puppetlabs-mrepo/manifests/repo.pp:252
err: Try 'puppet help parser validate' for usage
Dec 31, 2020 in Puppet by akhtar
• 38,240 points
268 views

1 answer to this question.

0 votes

Hi@akhtar,

You are getting this error because there is a syntax error in your code. You may miss one curly bracket in your code. You need to check your code, or you can paste it here.

answered Dec 31, 2020 by MD
• 95,340 points

Related Questions In Puppet

0 votes
1 answer

Puppet: Error: Could not parse for environment production: Syntax error at '='; expected '}'

This error occurs if puppet apply -e is used ...READ MORE

answered Aug 1, 2019 in Puppet by Sirajul
• 59,170 points
2,406 views
0 votes
1 answer

Error saying "Error: Could not parse for environment production" - Puppet

Hey @Nagya, You need to set the ...READ MORE

answered Feb 15, 2019 in Puppet by Kavya
1,439 views
0 votes
1 answer

Error: Could not find declared class firewall at /etc/puppetlabs/code/environments/production/manifests/site.pp

The modules that you install on master need ...READ MORE

answered Aug 5, 2019 in Puppet by Sirajul
• 59,170 points
1,269 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,567 views
+2 votes
1 answer
0 votes
1 answer

How to check the syntax of Puppet DSL code?

Hi@akhtar, At the lowest level of checking, you ...READ MORE

answered Dec 31, 2020 in Puppet by MD
• 95,340 points
206 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP