/[adm]/puppet/modules/apache/manifests/base.pp
ViewVC logotype

Contents of /puppet/modules/apache/manifests/base.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2918 - (show annotations) (download)
Mon Dec 10 19:54:50 2012 UTC (11 years, 10 months ago) by boklm
File size: 828 byte(s)
apache::base: Add missing require on apache config package
1 class apache::base {
2 include apache::var
3
4 package { 'apache-mpm-prefork': }
5
6 package { $apache::var::pkg_conf: }
7
8 service { 'httpd':
9 alias => 'apache',
10 subscribe => [ Package['apache-mpm-prefork'] ],
11 }
12
13 exec { 'service httpd configtest':
14 refreshonly => true,
15 notify => Service['apache'],
16 }
17
18 apache::config {
19 '/etc/httpd/conf.d/customization.conf':
20 content => template('apache/customization.conf'),
21 require => Package[$apache::var::pkg_conf];
22 '/etc/httpd/conf/vhosts.d/00_default_vhosts.conf':
23 content => template('apache/00_default_vhosts.conf'),
24 require => Package[$apache::var::pkg_conf];
25 }
26
27 file { '/etc/logrotate.d/httpd':
28 content => template('apache/logrotate')
29 }
30 }

  ViewVC Help
Powered by ViewVC 1.1.30