Issue installing modules from local cache

asked 2016-04-27 08:19:05 -0600

suman gravatar image

I have Learning VM up and running. I started with the power of puppet quests. For the search of modules I don't have internet enabled on my VM. I opted for installing the modules from local cache but it fails for all. I am at / as root user and executing: for m in /usr/src/forge/*; do puppet module install $m --ignore-dependencies; done

I am getting error for all the modules like: Error: Could not extract contents of module archive: Execution of 'gzip -dc /usr/src/forge/windowsfeature | tar xof -' returned 2: gzip: /usr/src/forge/windowsfeature is a directory -- ignored tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors Error: Try 'puppet help module install' for usage Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...

There are no archives available at /usr/src/forge location but some directories and their content. Please help how to go about it.

edit retag flag offensive close merge delete