From a29fac2437098fe2f3cb2a48905b588d5219e224 Mon Sep 17 00:00:00 2001 From: Brendan Murtagh Date: Fri, 14 Jun 2013 14:43:55 -0400 Subject: [PATCH] XSendfile Module support for Apache --- README.md | 1 + manifests/mod/xsendfile.pp | 4 ++++ manifests/params.pp | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 manifests/mod/xsendfile.pp diff --git a/README.md b/README.md index f0093fe009..a670336f0e 100644 --- a/README.md +++ b/README.md @@ -246,6 +246,7 @@ There are many `apache::mod::[name]` classes within this module that can be decl * `userdir`* * `worker`* * `wsgi` +* `xsendfile` Modules noted with a * indicate that the module has settings and, thus, a template that includes parameters. These parameters control the module's configuration. Most of the time, these parameters will not require any configuration or attention. diff --git a/manifests/mod/xsendfile.pp b/manifests/mod/xsendfile.pp new file mode 100644 index 0000000000..571501a03b --- /dev/null +++ b/manifests/mod/xsendfile.pp @@ -0,0 +1,4 @@ +class apache::mod::xsendfile { + include apache::params + apache::mod { 'xsendfile': } +} diff --git a/manifests/params.pp b/manifests/params.pp index 4117e3d88b..29a4f3bdec 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -64,6 +64,7 @@ 'ssl' => 'mod_ssl', 'wsgi' => 'mod_wsgi', 'dav_svn' => 'mod_dav_svn', + 'xsendfile' => 'mod_xsendfile', } $mod_libs = { 'php5' => 'libphp5.so', @@ -100,6 +101,7 @@ 'python' => 'libapache2-mod-python', 'wsgi' => 'libapache2-mod-wsgi', 'dav_svn' => 'libapache2-svn', + 'xsendfile' => 'libapache2-mod-xsendfile', } $mod_libs = {} $conf_template = 'apache/httpd.conf.erb'