public
Description: Modules for puppet.
Homepage:
Clone URL: git://github.com/apenney/puppet.git
puppet / apache / manifests / install.pp
100644 31 lines (23 sloc) 0.588 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##
## Install the base server.
##
 
class apache::install {
 
    package { "httpd":
  ensure => installed,
    }
 
    package { "mod_ssl":
  ensure => installed,
    }
 
    service { "httpd":
  ensure => "true",
  enable => "true",
  hasrestart => "true",
  hasstatus => "true",
  require => Package['httpd'],  
    }
 
}
 
class apache::install::iclassify inherits apache::install {
 
        Service["httpd"] {
        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"] ],
    }
}