Skip to content
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.

WIP: FreeBSD support #179

Closed
wants to merge 1 commit into from
Closed

WIP: FreeBSD support #179

wants to merge 1 commit into from

Conversation

zachfi
Copy link
Contributor

@zachfi zachfi commented Mar 9, 2016

This work takes a first pass over adding support for the FreeBSD
platform.

@zachfi
Copy link
Contributor Author

zachfi commented Mar 9, 2016

The configuration directory here for icinga2 on FreeBSD should be /usr/local/etc/icinga2, but currently its not configurable. How would folks like this to be addressed? I'm happy to make the config directory tunable, but its hardcoded in lots of places currently, so before I embark on such a task, I'd like to see if there is a preferred way to handle this. I know the defaults everywhere else are for /etc/icinga2, but since we don't deploy all files we include, the service remains broken on FreeBSD.

@zachfi
Copy link
Contributor Author

zachfi commented Mar 11, 2016

@arioch @lazyfrosch Any thoughts here as to adding support for FreeBSD?

@lazyfrosch
Copy link
Contributor

@xaque208 if you have a proper test setup, go ahead!

👍 for config_dir support

@lazyfrosch lazyfrosch changed the title Begin FreeBSD support WIP: FreeBSD support Mar 11, 2016
@arioch
Copy link
Contributor

arioch commented Apr 26, 2016

What's the current status of this WIP?
I see some overlap with #196. Does this cover what you need?

@zachfi
Copy link
Contributor Author

zachfi commented Apr 26, 2016

Once the prefix stuff is in place, I can begin adding support. On my personal infrastructure, I've symlinked the directories and the module works quite well, so all that is required for FreeBSD support is:

  • remove any root group use and replace with '0'
  • Any configuration paths prefixed with /usr/local
  • Tests to keep this from regressing

I think thats it really. I'll take a pass over #196 again.

Puppet4 native data in modules would make this quite a bit simpler. Did you see my report I filed about it on the ticket tracker?

This work takes a first pass over adding support for the FreeBSD
platform.
@zachfi zachfi closed this Oct 11, 2016
@zachfi
Copy link
Contributor Author

zachfi commented Oct 11, 2016

Looks like the module is being rewritten. No need to keep this open.

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

Successfully merging this pull request may close these issues.

3 participants