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
• 16,050 points
59 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
• 57,940 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
118 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
87 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
• 57,940 points
100 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
676 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
• 57,940 points
516 views
0 votes
1 answer