Merged in oherrala/puppet/oherrala-apache-mod-spdy (pull request #49)
apache, yum: Add support for Google's SPDY support with mod_spdy module
This commit is contained in:
commit
5703db3f4b
2 changed files with 40 additions and 0 deletions
|
@ -966,6 +966,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.
|
||||
#
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue