Puppet in Docker How to mount Puppet on a CentOS container

0 votes
I have a CentOS container and i wish to mount puppet there. How can i go about doing this?
Aug 19, 2019 in Puppet by Sam
• 6,260 points
672 views

1 answer to this question.

0 votes

Run the following command:

docker run --volumes-from=puppet-agent centos /opt/puppetlabs/bin/puppet resource package tar --param provider
package { 'tar':
  ensure   => '2:1.26-29.el7',
  provider => 'yum',
}

This should mount puppet software into the CentOS container.

answered Aug 19, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12, 2019 in Puppet by Jason
1,516 views
0 votes
1 answer

Puppet+Docker: How do i configure my docker container to use a NFS volume through a Hiera config file?

If using Hiera, configure the docker::volumes class in the ...READ MORE

answered Aug 14, 2019 in Puppet by Sirajul
• 59,230 points
926 views
0 votes
1 answer

Puppet in Docker: How do I query PuppetDB API in a container setup?

PuppetDB exposes a dashboard, showing various operational ...READ MORE

answered Aug 20, 2019 in Puppet by Sirajul
• 59,230 points
1,096 views
0 votes
1 answer

How to Install Puppet on CentOS?

You need two nodes for Puppet to ...READ MORE

answered Feb 27, 2019 in Puppet by Avinash
715 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,714 views
0 votes
1 answer

Puppet+Docker: How do i configure my docker container to use a NFS volume?

docker_volume { 'nfs-volume': ensure => ...READ MORE

answered Aug 13, 2019 in Puppet by Sirajul
• 59,230 points
744 views
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