Browse files

Alias is enabled by default on Ubuntu, but just to be explicit.

  • Loading branch information...
1 parent ea3e6e5 commit d2e8c9003eba501ff81bb5ba5cff3f326131f235 @ceefour ceefour committed Mar 9, 2012
Showing with 6 additions and 5 deletions.
  1. +1 −0 README.textile
  2. +3 −3 manifests/init.pp
  3. +2 −2 metadata.json
View
1 README.textile
@@ -15,6 +15,7 @@ By default this will enable the following Apache modules:
* headers
* expires
* deflate
+* alias
h2. Common Usage
View
6 manifests/init.pp
@@ -14,7 +14,7 @@
#
class apache {
include apache::params
- package { 'httpd':
+ package { 'httpd':
name => $apache::params::apache_name,
ensure => installed,
}
@@ -51,13 +51,13 @@
}
}
@module {
- ['rewrite', 'headers', 'expires', 'deflate']: ensure => present;
+ ['rewrite', 'headers', 'expires', 'deflate', 'alias']: ensure => present;
}
file { $apache::params::vdir:
ensure => directory,
recurse => true,
purge => true,
notify => Service['httpd'],
- }
+ }
}
View
4 metadata.json
@@ -9,11 +9,11 @@
"version": "0.0.3.1",
"checksums": {
"Modulefile": "a1e2ebc12e069f72d0f680f07960cba1",
- "README.textile": "41c54bf69bbbf9eff343acdffaef57af",
+ "README.textile": "19a629e856a0f7df151ed7a9409bcca8",
"files/httpd": "295f5e924afe6f752d29327e73fe6d0a",
"files/test.vhost": "0602022c19a7b6b289f218c7b93c1aea",
"manifests/dev.pp": "bc54a5af648cb04b7b3bb0e3f7be6543",
- "manifests/init.pp": "32435b06c59f23cce8077a2bad475c92",
+ "manifests/init.pp": "0d3464f0c2de92b4a469e62bcaf5224a",
"manifests/mod/python.pp": "f6314af3248dadc62f0bf73b606389df",
"manifests/mod/wsgi.pp": "e6447e4ee209cf967f09e6977dd83eaa",
"manifests/params.pp": "dd68e82c6f99b4d3d1f6ae58b97367f6",

0 comments on commit d2e8c90

Please sign in to comment.