-->

DEVOPSZONES

  • Recent blogs

    How to Remove a module from Puppet?

    How to Remove a  module from Puppet?




    If you have installed a puppet module on a specific path , then you have to uninstall it
    with Following Steps.

    1. I've installed adamcrews-pound --version 2.1.1 moodule in Test Enviornment.

    [root@Puppetmaster ~]# puppet module install -i /etc/puppet/environments/Test/modules adamcrews-pound --version 2.1.1
    Notice: Preparing to install into /etc/puppet/environments/Test/modules ...
    Notice: Downloading from https://forgeapi.puppetlabs.com ...
    Notice: Installing -- do not interrupt ...
    /etc/puppet/environments/Test/modules
    └─┬ adamcrews-pound (v2.1.1)
      ├── puppetlabs-concat (v4.0.1)
      └── puppetlabs-stdlib (v4.12.0 -> v4.18.0)

     2. Now remove it from Puppet.

    [root@Puppetmaster modules]# puppet module uninstall --environment=Test adamcrews-pound --version 2.1.1                      
    Notice: Preparing to uninstall 'adamcrews-pound' (v2.1.1) ...
    Removed 'adamcrews-pound' (v2.1.1) from /etc/puppet/environments/Test/modules
    [root@Puppetmaster modules]#

    No comments