/[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 2917 - (show annotations) (download)
Mon Dec 10 19:54:49 2012 UTC (11 years, 4 months ago) by boklm
File size: 716 byte(s)
apache: use variable to store 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 '/etc/httpd/conf/vhosts.d/00_default_vhosts.conf':
22 content => template('apache/00_default_vhosts.conf');
23 }
24
25 file { '/etc/logrotate.d/httpd':
26 content => template('apache/logrotate')
27 }
28 }

  ViewVC Help
Powered by ViewVC 1.1.30