apache, yum: Add support for Google's SPDY support with mod_spdy module

See: https://developers.google.com/speed/spdy/mod_spdy/
This commit is contained in:
Ossi Herrala 2014-02-27 13:15:07 +00:00
parent 1ee9bf0105
commit 019df9900b
2 changed files with 40 additions and 0 deletions

View file

@ -962,6 +962,35 @@ class apache::mod::wsgi($http=true, $https=true, $embedded=true) {
} }
# Install Google's mod_spdy
#
class apache::mod::spdy {
$spdy_package = "mod-spdy-beta"
include yum::repo::mod_spdy
package { "$spdy_package":
ensure => installed,
require => Yum::Repo["mod_spdy"],
}
apache::configfile { "spdy.conf":
http => false,
https => true,
require => Package[$spdy_package],
notify => Service["httpsd"],
}
apache::configfile { "load_ssl_with_npn.conf":
http => false,
https => true,
require => Package[$spdy_package],
notify => Service["httpsd"],
}
}
# Install and configure webalizer. # Install and configure webalizer.
# #

View file

@ -642,3 +642,14 @@ class yum::repo::puppetlabs::dependencies {
} }
} }
# Add Google's mod_spdy repository
#
class yum::repo::mod_spdy {
yum::repo { "mod_spdy":
descr => "mod_spdy Repository",
baseurl => "http://dl.google.com/linux/mod-spdy/rpm/stable/x86_64",
}
}