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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content