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
• 1,170 points
11 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
• 16,640 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
• 16,640 points
15 views
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
23 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
• 16,640 points
36 views
0 votes
1 answer

Puppet: How can i connect the puppet server to an external node classifier?

You need to configure two settings to ...READ MORE

answered Aug 2 in Puppet by Sirajul
• 16,640 points
17 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
110 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
• 16,640 points
14 views
0 votes
1 answer