Ask Your Question
0

What is required to host an internal puppet forge?

asked 2015-06-02 13:21:25 -0600

hesco gravatar image

Our corporate network requires proxy/firewall jumping to get past our internal network. We are working to bring all the third-party code inside the firewall. Currently we are cloning git repos into our internal repositories and using r10k and vcsrepo to deploy that code. But I'm wondering what is required to host an internal puppet forge so that we can deploy static and blessed versions with puppet module install foo, rather than git clone foo. Is the forge simply an http file serve? Is it something more complex than that? Where is it documented what is required to host a forge internally.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-06-03 00:08:27 -0600

We are currently using puppet-forge-server (https://github.com/unibet/puppet-forge-server) to do that:

  • if you need an internal module , just deploy a tar file into its local repo
  • if you need an official module, it can cache it.

from puppet POV, you just have to configure the module_repository parameter and the puppet module install will do the job transparently.

@millerjl1701: it uses both V1 and V3 API, but katello seems to be very useful, thanks for the information :)

edit flag offensive delete link more
1

answered 2015-06-02 15:17:53 -0600

millerjl1701 gravatar image

There is an API used by the puppet module face to deploy modules, and the ability to host a local forge has been an open request for a while. I have tried puppet library, but it is incompatible with the v3 of the API which is a deal breaker with puppet 3.6 (I think) or higher. There is/was also the simple puppet forge project that I looked at for a while. I don't know what the current status is of this with v3 of the API. During testing, I was using r10k to pull modules via those two until I just went with a proxy server. Currently (as in this week/next week) I am working on testing katello to see if I can accomplish what you ask... perhaps someone out there who is using pulp currently is watching... :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-02 13:21:25 -0600

Seen: 1,512 times

Last updated: Jun 03 '15