Added apache2 service notification on ssl cert change
Added notification to service apache2 when some of the ssl cert files changes, to be able to reload them. Change-Id: Iab89ce159d7874587fd006c765f042a41a20505f
This commit is contained in:
@@ -217,6 +217,7 @@ class openstackid (
|
|||||||
group => 'root',
|
group => 'root',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
content => $ssl_cert_file_contents,
|
content => $ssl_cert_file_contents,
|
||||||
|
notify => Service['apache2'],
|
||||||
before => Httpd::Vhost[$vhost_name],
|
before => Httpd::Vhost[$vhost_name],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -227,6 +228,7 @@ class openstackid (
|
|||||||
group => 'root',
|
group => 'root',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
content => $ssl_key_file_contents,
|
content => $ssl_key_file_contents,
|
||||||
|
notify => Service['apache2'],
|
||||||
before => Httpd::Vhost[$vhost_name],
|
before => Httpd::Vhost[$vhost_name],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -237,6 +239,7 @@ class openstackid (
|
|||||||
group => 'root',
|
group => 'root',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
content => $ssl_chain_file_contents,
|
content => $ssl_chain_file_contents,
|
||||||
|
notify => Service['apache2'],
|
||||||
before => Httpd::Vhost[$vhost_name],
|
before => Httpd::Vhost[$vhost_name],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user