Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After package build: How to provide the package in a repository for serveral clients #817

Open
guettli opened this issue Nov 28, 2014 · 9 comments

Comments

@guettli
Copy link

guettli commented Nov 28, 2014

Your project looks good and well documented.

I am missing something in the docs:

fpm lets you build packages. But what's the next step? I want to install the package on several hosts.

If you have several packages which depend on each other using scp and a call to rpm or dpkg is not a good solution.

You need a way to provide a package repository. On debian/ubuntu clients you need an entry in /etc/apt/sources.list.d/ and a http server which provides the packages.

Can fpm help to provide a package repository? If not, no problem. But a hint how to solve this with different tools in the docs would be nice.

How do you provide packages for several hosts?

Thank you.

@lb1a
Copy link

lb1a commented Nov 28, 2014

One way for serving different platforms would be something like https://packagecloud.io/
There you have explizit support for multiple platforms served in one repo.

@ViktorNova
Copy link

http://bintray.com is also a great free service that offers a similar thing for free, but with no limitations for public repositories

@guettli
Copy link
Author

guettli commented Dec 1, 2014

Aint there a solution which can be used for self hosting the package repo?

@lb1a
Copy link

lb1a commented Dec 1, 2014

Hosting a repo is (in general) a location that is reachable via http/https and has some specific folder structure and some metadata files.
e.g. :
rpm: https://gist.github.com/fernandoaleman/1377211
apt/deb: http://troubleshootingrange.blogspot.de/2012/09/hosting-simple-apt-repository-on-centos.html?_escaped_fragment_

Just google it, it's not that hard to do.

@jordansissel
Copy link
Owner

@guettli yes you can host your own package repositories; imo it's quite a frustrating experience in both many-setup steps and annoying maintenance steps. bintray and packagecloud are decent hosted options.

@jordansissel
Copy link
Owner

@guettli Also, github.com/dnbert/prm aims at solving the self-hosted repo option.

@guettli
Copy link
Author

guettli commented Dec 2, 2014

@lb1a "Hosting a repo is (in general) a location that is reachable via http/https and has some specific folder structure and some metadata files...."

I use linux since 1996, I know how to do "plumbing". I prefere to join existing projects.

This looks good, too: http://openbuildservice.org/

@sysadmiral
Copy link

If your infrastructure is mainly rpm-y in nature and you want to host your own repo's then http://www.pulpproject.org/ is worth a look.

As stated in the docs it is designed to be type-agnostic so you can use it to serve up a lot more than just your packages - I'm currently testing "mirroring" puppet forge on our LAN and also as a repo of compressed db backups.

@divanikus
Copy link

If you want to self-host deb repository, try http://www.aptly.info/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants