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

Diff of /puppet/modules/apache/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2232 by misc, Sun Jan 8 23:23:53 2012 UTC revision 2243 by misc, Sat Jan 14 19:26:13 2012 UTC
# Line 4  class apache { Line 4  class apache {
4          file { $name:          file { $name:
5              content => $content,              content => $content,
6              require => Package["apache-conf"],              require => Package["apache-conf"],
7              notify => Service["apache"],              notify => Exec['service httpd configtest'],
8          }          }
9      }      }
10    
# Line 28  class apache { Line 28  class apache {
28              subscribe => [ Package['apache-mpm-prefork'] ],              subscribe => [ Package['apache-mpm-prefork'] ],
29          }          }
30    
31            exec { "service httpd configtest":
32                refreshonly => true,
33                notify => Service["apache"],
34            }
35    
36          apache::config {          apache::config {
37              "/etc/httpd/conf.d/customization.conf":              "/etc/httpd/conf.d/customization.conf":
38                  content => template("apache/customization.conf");                  content => template("apache/customization.conf");

Legend:
Removed from v.2232  
changed lines
  Added in v.2243

  ViewVC Help
Powered by ViewVC 1.1.30