summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-23 16:06:45 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-23 16:06:45 -0500
commitd2c4bdf792815f0a0f54d717bdec619f03d984ab (patch)
treeb80bd6aa94eda96089ebb005763f9f39eb71d76c /manifests/base.pp
parent9513cf4a201d0e7148aa5f0db490a29a02611b19 (diff)
introduce config::global for global configs in conf.d and config::include for vhost snippets in include.d
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp9
1 files changed, 7 insertions, 2 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index a6953bc..5f2bac3 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -9,6 +9,11 @@ class apache::base {
ensure => directory,
owner => root, group => 0, mode => 0755;
}
+ file{'include_dir':
+ path => '/etc/apache2/include.d',
+ ensure => directory,
+ owner => root, group => 0, mode => 0755;
+ }
file{'modules_dir':
path => '/etc/apache2/modules.d',
ensure => directory,
@@ -36,7 +41,7 @@ class apache::base {
owner => root, group => 0, mode => 0644;
}
- apache::config::file{ 'defaults.inc': }
- apache::config::file{ 'git.conf': }
+ apache::config::include{ 'defaults.inc': }
+ apache::config::global{ 'git.conf': }
apache::vhost::file { '0-default': }
}