Skip to content

Commit 57dbbf4

Browse files
committed
Merge pull request puppetlabs#1254 from olivierHa/master
Fix typo about dynamic AddHandler/AddType
2 parents 0e9b153 + e54b1ad commit 57dbbf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
'type-map' => 'var'
3636
},
3737
'AddType' => {
38-
'type-map' => '.shtml'
38+
'text/html' => '.shtml'
3939
},
4040
'AddOutputFilter' => {
4141
'INCLUDES' => '.shtml'

spec/acceptance/mod_mime_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class { 'apache': }
3333
describe file("#{mod_dir}/mime.conf") do
3434
it { is_expected.to contain "AddType application/x-compress .Z" }
3535
it { is_expected.to contain "AddHandler type-map var\n" }
36-
it { is_expected.to contain "AddType type-map .shtml\n" }
36+
it { is_expected.to contain "AddType text/html .shtml\n" }
3737
it { is_expected.to contain "AddOutputFilter INCLUDES .shtml\n" }
3838
end
3939
end

0 commit comments

Comments
 (0)