puppet module and no internet connection

595 views
Skip to first unread message

Dan

unread,
Oct 16, 2012, 3:32:06 PM10/16/12
to puppet...@googlegroups.com
Hi,

I managed to get a puppet module on a server and tried to install it but I got the following and am now lost on how to get round this:

 puppet module install puppetlabs-xinetd-1.1.0
Preparing to install into /etc/puppet/modules ...
Downloading from http://forge.puppetlabs.com ...
Error: Error: Could not connect to http://forge.puppetlabs.com
  There was a network communications problem
    Check your network connection and try again


The server doesn't have an internet connection so how do I install this?

Thanks in advance for any help.

Dan

Ryan Coleman

unread,
Oct 16, 2012, 6:44:01 PM10/16/12
to puppet...@googlegroups.com
Hi Dan, 

If you can't connect to Forge from your node and using the http_proxy configuration option isn't viable, you can download the tarball directly from the Forge website and install it with the puppet module tool. 

First, download the tarball from the website: http://forge.puppetlabs.com/puppetlabs/xinetd

Get that tarball onto your node somehow and then run the `puppet module install` command against it. The --ignore-dependencies flag instructs the tool to ignore the Forge (which is normally consulted for dependency lookup) and just install the module. If the module does have dependencies (listed on the web page), you'll need to install those as well. 

Example: puppet module install puppetlabs-xinetd-1.1.0.tar.gz --ignore-dependencies

Hope that helps! 

--Ryan



Dan

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/NyDv8k7gDQIJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.


Reply all
Reply to author
Forward
0 new messages