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

Add initial OpenBSD support. #507

Merged
merged 1 commit into from
Nov 25, 2014
Merged

Add initial OpenBSD support. #507

merged 1 commit into from
Nov 25, 2014

Conversation

frenkel
Copy link
Contributor

@frenkel frenkel commented Nov 23, 2014

Based on the work of @buzzdeee, but without conflicts with changes in master. Closes #448

@frenkel frenkel mentioned this pull request Nov 23, 2014
$run_dir = $::kernel ? {
/(?i-mx:openbsd)/ => '/var/www',
default => '/var/nginx',
}
$temp_dir = '/tmp'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you restructure this block so the log_dir/run_dir overrides are set in $_module_os_overrides, and these parameters are set to $_module_parameters['log_dir'] and $_module_parameters['run_dir']? Like you did with global_group and sites_available_group

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@3flex Ok, I'll try to fix it in one of the following days.

@frenkel
Copy link
Contributor Author

frenkel commented Nov 25, 2014

@3flex @jfryman I've changed that inline regex from the original pull request to the same construct as root_group for example. I think this is now a clean commit that can be merged.

jfryman added a commit that referenced this pull request Nov 25, 2014
Add initial OpenBSD support.
@jfryman jfryman merged commit 03aa252 into voxpupuli:master Nov 25, 2014
@jfryman
Copy link
Contributor

jfryman commented Nov 25, 2014

👍 Thanks for this!

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

Successfully merging this pull request may close these issues.

3 participants