Puppet Error: "Could not extract contents of module archive"

Solution Verified - Updated -

Issue

  • The following error occurs when trying to install a puppet module and errors with the following message
# puppet apply /root/Module-Name/pkg/puppet-ModName-0.1.0
Error: Could not extract contents of module archive: Execution of 'gzip -dc /root/Module-Name/pkg/puppet-ModName-0.1.0 | tar xof - returned 2: gzip
tar: This does not look like a tar archive"

Environment

  • Red Hat Enterprise Linux
  • puppet

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.