apenney / puppet
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
221399b
Root (author)
Tue May 27 12:54:46 -0700 2008
| 2597b02f » | Root | 2008-05-20 | 1 | ## | |
| 2 | ## Install the base server. | ||||
| 3 | ## | ||||
| 4 | |||||
| 5 | class apache::install { | ||||
| 6 | |||||
| b18e79cf » | Root | 2008-05-22 | 7 | package { "httpd": | |
| 2597b02f » | Root | 2008-05-20 | 8 | ensure => installed, | |
| 9 | } | ||||
| 10 | |||||
| b18e79cf » | Root | 2008-05-22 | 11 | package { "mod_ssl": | |
| 12 | ensure => installed, | ||||
| 13 | } | ||||
| 2597b02f » | Root | 2008-05-20 | 14 | ||
| 15 | service { "httpd": | ||||
| 16 | ensure => "true", | ||||
| 17 | enable => "true", | ||||
| 18 | hasrestart => "true", | ||||
| 19 | hasstatus => "true", | ||||
| 20 | require => Package['httpd'], | ||||
| 21 | } | ||||
| 221399bf » | Root | 2008-05-27 | 22 | ||
| 23 | } | ||||
| 24 | |||||
| 25 | class apache::install::iclassify inherits apache::install { | ||||
| 26 | |||||
| 27 | Service["httpd"] { | ||||
| 28 | require => [ Package['httpd'], Package['mod_ssl'], File["/etc/httpd/ssl/iclassify.crt"], File["/etc/httpd/ssl/iclassify.key"], File["/etc/httpd/conf.d/iclassify.conf"] ], | ||||
| 29 | } | ||||
| 2597b02f » | Root | 2008-05-20 | 30 | } | |
