Puppet Error Could not parse for environment production Syntax error at expected

0 votes

How to debug this error?

Error: Could not parse for environment production: Syntax error at '='; expected '}'
Aug 1, 2019 in Puppet by Sam
• 6,260 points
5,103 views

1 answer to this question.

0 votes
  • This error occurs if puppet apply -e is used from the command line and the supplied command is surrounded with single quotes ('), which causes cmd.exe to interpret any => in the command as a redirect.

  • Surround the command with double quotes (") instead.

    Hope this helps!

answered Aug 1, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

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
2,598 views
0 votes
1 answer

Error: Could not find init script for 'puppet' - Puppet error

You need to be running your processes ...READ MORE

answered Mar 12, 2019 in Puppet by Haider
2,614 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
4,034 views
+2 votes
1 answer
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,230 points
2,044 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP