Skip to content

Commit

Permalink
Merge branch '1.1.x' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Fields committed Sep 16, 2014
2 parents b8d4a2f + 0d39322 commit 9692e84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
# Configure all nodes in nodeset
c.before :suite do
# Install module and dependencies
puppet_module_install(:source => proj_root, :module_name => 'apache')
hosts.each do |host|
copy_module_to(host, :source => proj_root, :module_name => 'apache')
# Required for mod_passenger tests.
if fact('osfamily') == 'RedHat'
on host, puppet('module','install','stahnma/epel'), { :acceptable_exit_codes => [0,1] }
Expand Down
9 changes: 5 additions & 4 deletions templates/vhost/_directories.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
<%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
<%- if directory['require'] and directory['require'] != '' -%>
Require <%= Array(directory['require']).join(' ') %>
<%- else -%>
<%- end -%>
<%- if directory['auth_require'] -%>
Require <%= directory['auth_require'] %>
<%- end -%>
<%- if !(directory['require'] and directory['require'] != '') && !(directory['auth_require']) -%>
Require all granted
<%- end -%>
<%- else -%>
Expand Down Expand Up @@ -138,9 +142,6 @@
<%- if directory['auth_group_file'] -%>
AuthGroupFile <%= directory['auth_group_file'] %>
<%- end -%>
<%- if directory['auth_require'] -%>
Require <%= directory['auth_require'] %>
<%- end -%>
<%- if directory['fallbackresource'] -%>
FallbackResource <%= directory['fallbackresource'] %>
<%- end -%>
Expand Down

0 comments on commit 9692e84

Please sign in to comment.