Commit a22538f7 authored by Bill MacAllister's avatar Bill MacAllister
Browse files

base::tls: Update naming convention for wallet objects

Conform to naming conventions for host base wallet objects.
parent bcd9da5b
release/004.018 (2015-02-03)
Change syslog tls support to follow host base naming conventions
for wallet objects. (whm)
release/004.017 (2015-01-30)
[dns] More instance variable @ fixes for resolv.conf.erb. (adamhl)
......
......@@ -90,13 +90,15 @@ define base::syslog::tls(
# Install the certificate for the service
if $service_name == undef {
$cert_subject = "syslog.${::fqdn_lc}"
$wallet_name = "ssl-key/${::fqdn_lc}/syslog"
} else {
$cert_subject = "syslog.${service_name}"
$wallet_name = "ssl-key/${service_name}/syslog"
}
if $install_cert == true {
apache::cert::other { $cert_subject:
ensure => present,
keyname => "ssl-key/${cert_subject}",
keyname => $wallet_name,
identity => "${cert_subject}.pem",
symlink => false,
notify => Service['syslog'],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment