SmartOS support

This commit is contained in:
Joshua Moore 2014-03-24 17:07:38 -04:00
parent 3bc96ed8e4
commit 6fe431f698
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ class nginx::params {
$nx_conf_dir = $::kernelversion ? {
/(?i-mx:joyent)/ => '/opt/local/etc/nginx',
default => '/etc/nginx/',
default => '/etc/nginx',
}
if $::osfamily {

View file

@ -50,6 +50,6 @@ http {
}
<% if scope.lookupvar('nginx::mail') %>
mail {
include /etc/nginx/conf.mail.d/*.conf;
include <%= scope.lookupvar('nginx::params::nx_conf_dir') %>/conf.mail.d/*.conf;
}
<% end -%>