public
Description: Modules for puppet.
Homepage:
Clone URL: git://github.com/apenney/puppet.git
puppet / apache / manifests / install.pp
2597b02f » Root 2008-05-20 Initial import of all my te... 1 ##
2 ## Install the base server.
3 ##
4
5 class apache::install {
6
b18e79cf » Root 2008-05-22 Some modifications for icla... 7 package { "httpd":
2597b02f » Root 2008-05-20 Initial import of all my te... 8 ensure => installed,
9 }
10
b18e79cf » Root 2008-05-22 Some modifications for icla... 11 package { "mod_ssl":
12 ensure => installed,
13 }
2597b02f » Root 2008-05-20 Initial import of all my te... 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 Plenty more changes to the ... 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 Initial import of all my te... 30 }