Skip to content

Commit

Permalink
Merge pull request #759 from caezs/master
Browse files Browse the repository at this point in the history
Change the site-include regexp to work better with Debian/Ubuntu...
  • Loading branch information
igalic committed Jun 4, 2014
2 parents 39d5aca + 78ee7ff commit 71a1d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/classes/apache_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
it { should contain_file("/etc/httpd/conf/httpd.conf").with_content %r{^IncludeOptional "/etc/httpd/conf\.d/\*\.conf"$} }
end

it { should contain_file("/etc/httpd/conf/httpd.conf").with_content %r{^Include "/etc/httpd/site\.d/\*\.conf"$} }
it { should contain_file("/etc/httpd/conf/httpd.conf").with_content %r{^Include "/etc/httpd/site\.d/\*"$} }
it { should contain_file("/etc/httpd/conf/httpd.conf").with_content %r{^Include "/etc/httpd/mod\.d/\*\.conf"$} }
it { should contain_file("/etc/httpd/conf/httpd.conf").with_content %r{^Include "/etc/httpd/mod\.d/\*\.load"$} }
end
Expand Down
2 changes: 1 addition & 1 deletion templates/httpd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ IncludeOptional "<%= @confd_dir %>/*.conf"
Include "<%= @confd_dir %>/*.conf"
<%- end -%>
<% if @vhost_load_dir != @confd_dir -%>
Include "<%= @vhost_load_dir %>/*.conf"
Include "<%= @vhost_load_dir %>/*"
<% end -%>

<% if @error_documents -%>
Expand Down

0 comments on commit 71a1d9a

Please sign in to comment.