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 in Puppet by Liana
21 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 by Sirajul
• 37,480 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 in Puppet by Vivek
26 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 in Puppet by Sirajul
• 37,480 points
28 views
0 votes
1 answer

How to install modules from puppet forge?

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

answered Jul 26 in Puppet by Sirajul
• 37,480 points
31 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 in Puppet by Sirajul
• 37,480 points
30 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
212 views
0 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 in Puppet by Sirajul
• 37,480 points
56 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 in Puppet by Sirajul
• 37,480 points
31 views