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 in Puppet by Karan
• 1,980 points
11 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 by Sirajul
• 25,700 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 in Puppet by Adi
50 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 in Puppet by Yesha
45 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 in Puppet by Sirajul
• 25,700 points
21 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
152 views
0 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 in Puppet by Sirajul
• 25,700 points
57 views
0 votes
1 answer