How do I automate the process of puppet manifest generation

0 votes
How can I provision my system such that it automatically generates puppet manifests from an existing system?
Aug 23, 2019 in Puppet by Karan
• 19,610 points
550 views

1 answer to this question.

0 votes

You can use puppet resource [type] for this purpose.

  • 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 23, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

How do I sign all the certificates together - Puppet on Ubuntu

Hey @Aryaa, use the following command to ...READ MORE

answered Feb 21, 2019 in Puppet by Adi
674 views
0 votes
1 answer

How do I install Puppet directly from the source?

Hey @Laksha,  First, install the Puppet tarball from ...READ MORE

answered Mar 8, 2019 in Puppet by Yesha
741 views
0 votes
0 answers
0 votes
1 answer

Docker with Puppet: How do i run the following command "docker build -t ubuntu /tmp/ubuntu_image" using puppet code?

 Hey @Liana, Including the docker_dir parameter is equivalent to ...READ MORE

answered Aug 16, 2019 in Puppet by Sirajul
• 59,230 points
984 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
3,990 views
+2 votes
1 answer
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
2,979 views
0 votes
1 answer
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