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 in Puppet by Karan
• 6,650 points
26 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 by Sirajul
• 40,980 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 in Puppet by Sirajul
• 40,980 points
40 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 in Puppet by Kavyashri
45 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 in Puppet by Sirajul
• 40,980 points
115 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,380 points
250 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 in Puppet by Sirajul
• 40,980 points
59 views
0 votes
1 answer