Puppet: Can i automatically generate puppet manifests from a puppet server?

0 votes
Is there any way that could auto generate manifests from an existing puppet server? I need this coz I have a requirement to deploy a site to a virtual private server. how can I do this?
Aug 7, 2019 in Puppet by Karan
• 8,200 points
29 views

1 answer to this question.

0 votes

Yes, here is how you can do it. You can use puppet resource [type] for that.

To get a list of installed packages:

puppet resource package

Get a specific package with version:

puppet resource package httpd

Files:

puppet resource file /etc/httpd/conf.d/example.conf

answered Aug 7, 2019 by Sirajul
• 45,960 points

Related Questions In Puppet

0 votes
1 answer

Puppet : Can i install jenkins on a puppet server using Git?

Installing puppet-jenkins is easy. To install via Git, ...READ MORE

answered Aug 9, 2019 in Puppet by Sirajul
• 45,960 points
51 views
0 votes
1 answer
0 votes
1 answer

How do I start a puppet server?

Hey if you're using Ubuntu, you can ...READ MORE

answered Feb 21, 2019 in Puppet by Kavyashri
50 views
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
• 45,960 points
182 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
305 views
0 votes
1 answer
0 votes
1 answer

How can i execute a single class from my puppet manifest file?

You can execute a subset of resources ...READ MORE

answered Aug 6, 2019 in Puppet by Sirajul
• 45,960 points
96 views
0 votes
1 answer