mdevilliers / redishappy

Redis Sentinel high availabillity daemon
Apache License 2.0
114 stars 23 forks source link

build rpms #29

Closed lesaux closed 9 years ago

lesaux commented 9 years ago

Hello, I modified a few things to build rpms as well.

Although the packages are built on trusty with the vagrant box, I've tested them on centos6 and they seem to work fine.

I've also studied the possibility of building the binaries and rpm on a centos6 box - this second option might be cleaner.

Let me know what you think!

mdevilliers commented 9 years ago

Hey, thanks for this - it looks really good. Apologies for not getting back to you sooner - been a bit caught up with Christmas.

If we were to paramatise the vagrant file to either build on an ubuntu machine or a centos one is there a 'best' image to use?

lesaux commented 9 years ago

Hi Mark,

Glad I could help. At this point I don't think there are "official" CentOS boxes.

https://bugs.centos.org/view.php?id=6365

I tend to use hfm4/centos6 or hfm4/centos7, or create my own in packer.

As for ubuntu, any for the "ubuntu/" are official boxes.

fyi I also started to work on a puppet module for redishappy: https://github.com/lesaux/puppet-redishappy Still needs some work but it's a start.