Ask Your Question
0

How do I uninstall a module that is installed in an environment's module folder?

asked 2015-05-28 16:31:31 -0500

claquer gravatar image

I installed a module on our server by specifying a specific folder (e.g. "puppet module install opentable-iis -i ./modules/" while in the root of the environment folder). But there is no option similar to -i to specify the module folder to use when uninstalling. I'm using Puppet 3.7.1.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-06-04 09:17:15 -0500

claquer gravatar image

It turns out puppet module uninstall does support --module-path. It doesn't mention this in puppet help module uninstall (on 3.7.1 or 3.8.1 anyway), but I did find it mentioned on the website. This let me remove the module.

edit flag offensive delete link more
0

answered 2015-05-28 19:29:01 -0500

csharpsteen gravatar image

Adding the --environment flag to the command should work:

 puppet module uninstall --environment=someenvironment opentable-iis
edit flag offensive delete link more

Comments

Hmm, it still doesn't know what I'm talking about: Notice: Preparing to uninstall 'opentable-iis' ... Error: Could not uninstall module 'opentable-iis' Module 'opentable-iis' is not installed

claquer gravatar imageclaquer ( 2015-05-29 16:06:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-28 16:31:31 -0500

Seen: 4,732 times

Last updated: Jun 04 '15