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

Feature: Support distro packages #44

Closed
rmoriz opened this issue Apr 7, 2015 · 6 comments
Closed

Feature: Support distro packages #44

rmoriz opened this issue Apr 7, 2015 · 6 comments

Comments

@rmoriz
Copy link

rmoriz commented Apr 7, 2015

OSSEC started to provide packages for various distros (RHEL, CentOS, Debian, Ubuntu):
http://www.ossec.net/?page_id=19

Those packages provide things like init-scripts/systemd units which currently are not provided by this cookbook (except for Arch).

It would be nice to support installation/configuration of those packages with this cookbook.

related: #43 #38

@jtimberman
Copy link

Oh nice!

In my opinion we should just rip out all the source compile stuff and support only package installs. That's the only really sane way to maintain this going forward so we don't have all the "bump version" pull requests.

@ranjib
Copy link
Contributor

ranjib commented Apr 7, 2015

👍

This was referenced Jun 10, 2015
@chewi
Copy link
Contributor

chewi commented Jul 10, 2015

I've made a start on this but it's a little more painful than it should be. I don't want to add the whole "atomic" repository so I'm looking at the standalone "ossec" repository. EPEL is required for inotify-tools but that's okay. The repository lacks the 2.8.2 release and the WUI package though. The RPMs are also signed with a key that doesn't match any of the published ones. Someone else reported this almost a year ago and no one replied. Haven't looked at the DEBs yet.

@chewi
Copy link
Contributor

chewi commented Jul 16, 2015

DEBs for 2.8.2 are now up but still no WUI.

I've done a lot more on this now and have put the result so far up on our packages branch. I've had to break the recipes up slightly because Debian has no common package whereas CentOS does. We need to install the package in order to create the user that will own the configuration file.

Facing more issues with the DEBs including ossec-batch-manager.pl not being present and the ossec user being created with a home at /home/ossec instead of /var/ossec. Please follow along with the fun on the mailing list!

@tas50
Copy link
Contributor

tas50 commented May 28, 2017

We're using packages on both RHEL and Debian now

@tas50 tas50 closed this as completed May 28, 2017
@lock
Copy link

lock bot commented Jul 23, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants