How to check the syntax of Puppet DSL code

0 votes

Hi Team,

I have written one Puppet DSL file. I want to check the syntax of this file. How to do that?

Dec 31, 2020 in Puppet by akhtar
• 38,260 points
845 views

1 answer to this question.

0 votes

Hi@akhtar,

At the lowest level of checking, you can use the Puppet parser to do syntax validation. If you write any syntax, It will show that error.

$ puppet parser validate site.pp(file name)
answered Dec 31, 2020 by MD
• 95,460 points

Related Questions In Puppet

0 votes
1 answer

How can i check the requests of certificates from puppet agent to puppet master?

You could do this by executing the ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
3,036 views
0 votes
1 answer

Puppet: How can i check for syntax errors on my puppet code? Is there any tool to do this?

At the lowest level of checking, you ...READ MORE

answered Aug 7, 2019 in Puppet by Sirajul
• 59,230 points
8,781 views
0 votes
1 answer

How to check the installed modules in puppet?

Puppet Module list command will list all ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
8,988 views
0 votes
0 answers
+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,062 views
+2 votes
1 answer
0 votes
1 answer

How to change the Puppet Server memory allocation?

Hi@akhtar, By default, Puppet Server is configured to ...READ MORE

answered Dec 31, 2020 in Puppet by MD
• 95,460 points
3,122 views
0 votes
1 answer

How to pull the catalog from the puppet master node?

Hi@akhtar, The puppet agent is configured to run ...READ MORE

answered Dec 31, 2020 in Puppet by MD
• 95,460 points
1,424 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