Puppet Upgrading puppet modules

0 votes

My puppet modules are installed by running:

puppet module install puppetlabs-apache --environment production --target-dir /etc/puppet/environments/production/modules.

I need to upgrade the puppetlabs-apache module. How should i go about doing it?

If i use puppet module upgrade, it will look within /etc/puppet directory and it doesn't have a target-dir flag.

Aug 30, 2019 in Puppet by Liana
1,245 views

1 answer to this question.

0 votes
sudo puppet config print modulepath

/etc/puppet/environments/production/modules:/etc/puppet/modules:/usr/share/puppet/modules 

puppet module upgrade command will search for module-to-be-upgraded in the above path.

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

Related Questions In Puppet

0 votes
1 answer

What are modules in puppet?

A module can be defined as a ...READ MORE

answered Mar 8, 2019 in Puppet by Vivek
568 views
0 votes
1 answer

what are the different plugins in modules of puppet?

Puppet supports several kinds of plug-ins: Custom facts ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
752 views
0 votes
1 answer

How to install modules from puppet forge?

Use the puppet module install command with ...READ MORE

answered Jul 26, 2019 in Puppet by Sirajul
• 59,230 points
1,194 views
0 votes
1 answer

Does puppet forge have modules that i can use to Install LAMP stack?

Puppet forge has modules for installing and ...READ MORE

answered Jul 30, 2019 in Puppet by Sirajul
• 59,230 points
815 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,942 views
+2 votes
1 answer
0 votes
1 answer

How to check the installed modules in puppet?

Puppet Module list command will list all ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
8,753 views
0 votes
1 answer

Can somebody explain the process of installing modules from the command line in puppet?

Puppet module install command installs a module ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
535 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