apache::mod::spdy: Add check for operatingsystem, lint fixes
This commit is contained in:
parent
9b410f3896
commit
60cc04bd3a
1 changed files with 10 additions and 2 deletions
|
@ -966,15 +966,23 @@ class apache::mod::wsgi($http=true, $https=true, $embedded=true) {
|
|||
|
||||
}
|
||||
|
||||
|
||||
# Install Google's mod_spdy
|
||||
#
|
||||
class apache::mod::spdy {
|
||||
|
||||
case $::operatingsystem {
|
||||
"centos","redhat","fedora": { }
|
||||
default: {
|
||||
fail("Apache module not supported in ${::operatingsystem}.")
|
||||
}
|
||||
}
|
||||
|
||||
$spdy_package = "mod-spdy-beta"
|
||||
|
||||
|
||||
include yum::repo::mod_spdy
|
||||
|
||||
package { "$spdy_package":
|
||||
package { $spdy_package:
|
||||
ensure => installed,
|
||||
require => Yum::Repo["mod_spdy"],
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue