57 |
package { "apache-mod_fastcgi": } |
package { "apache-mod_fastcgi": } |
58 |
} |
} |
59 |
|
|
|
class mod_ssl inherits base { |
|
|
file { "/etc/ssl/apache/": |
|
|
ensure => directory |
|
|
} |
|
|
|
|
|
openssl::self_signed_cert{ 'localhost': |
|
|
directory => '/etc/ssl/apache/', |
|
|
before => Apache::Config['/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf'], |
|
|
} |
|
|
|
|
|
package { "apache-mod_ssl": } |
|
|
|
|
|
apache::config { |
|
|
'/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf': |
|
|
content => template("apache/01_default_ssl_vhost.conf"); |
|
|
"/etc/httpd/conf.d/ssl.conf": |
|
|
content => template("apache/ssl.conf"); |
|
|
} |
|
|
} |
|
|
|
|
60 |
class mod_wsgi inherits base { |
class mod_wsgi inherits base { |
61 |
package { "apache-mod_wsgi": } |
package { "apache-mod_wsgi": } |
62 |
|
|