Skip to content

Commit

Permalink
Merge pull request #1543 from stbenjam/ssl-conf
Browse files Browse the repository at this point in the history
Move ssl.conf to main conf directory on EL7
  • Loading branch information
eputnam committed Nov 28, 2016
2 parents 7d7007e + bf9f0d0 commit 843a2ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
$logroot_mode = $::apache::params::logroot_mode,
$log_level = $::apache::params::log_level,
$log_formats = {},
$ssl_file = $::apache::params::ssl_file,
$ports_file = $::apache::params::ports_file,
$docroot = $::apache::params::docroot,
$apache_version = $::apache::version::default,
Expand Down
2 changes: 1 addition & 1 deletion manifests/mod/ssl.pp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
# $_apache_version
file { 'ssl.conf':
ensure => file,
path => "${::apache::mod_dir}/ssl.conf",
path => $::apache::ssl_file,
mode => $::apache::file_mode,
content => template('apache/mod/ssl.conf.erb'),
require => Exec["mkdir ${::apache::mod_dir}"],
Expand Down
5 changes: 5 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
$vhost_dir = "${httpd_dir}/conf.d"
$vhost_enable_dir = undef
$conf_file = 'httpd.conf'
$ssl_file = "${confd_dir}/ssl.conf"
$ports_file = "${conf_dir}/ports.conf"
$pidfile = 'run/httpd.pid'
$logroot = '/var/log/httpd'
Expand Down Expand Up @@ -210,6 +211,7 @@
$vhost_dir = "${httpd_dir}/sites-available"
$vhost_enable_dir = "${httpd_dir}/sites-enabled"
$conf_file = 'apache2.conf'
$ssl_file = "${mod_dir}/ssl.conf"
$ports_file = "${conf_dir}/ports.conf"
$pidfile = "\${APACHE_PID_FILE}"
$logroot = '/var/log/apache2'
Expand Down Expand Up @@ -346,6 +348,7 @@
$vhost_dir = "${httpd_dir}/Vhosts"
$vhost_enable_dir = undef
$conf_file = 'httpd.conf'
$ssl_file = "${mod_dir}/ssl.conf"
$ports_file = "${conf_dir}/ports.conf"
$pidfile = '/var/run/httpd.pid'
$logroot = '/var/log/apache24'
Expand Down Expand Up @@ -415,6 +418,7 @@
$vhost_dir = "${httpd_dir}/vhosts.d"
$vhost_enable_dir = undef
$conf_file = 'httpd.conf'
$ssl_file = "${mod_dir}/ssl.conf"
$ports_file = "${conf_dir}/ports.conf"
$logroot = '/var/log/apache2'
$logroot_mode = undef
Expand Down Expand Up @@ -482,6 +486,7 @@
$vhost_dir = "${httpd_dir}/sites-available"
$vhost_enable_dir = "${httpd_dir}/sites-enabled"
$conf_file = 'httpd.conf'
$ssl_file = "${mod_dir}/ssl.conf"
$ports_file = "${conf_dir}/ports.conf"
$pidfile = '/var/run/httpd2.pid'
$logroot = '/var/log/apache2'
Expand Down

0 comments on commit 843a2ca

Please sign in to comment.