mirror of
https://github.com/certbot/certbot.git
synced 2026-06-14 19:20:09 -04:00
Merge pull request #1226 from SwartzCr/issue_809
Apache with more than one vhost (fixes #809)
This commit is contained in:
commit
b36be129b6
2 changed files with 2 additions and 1 deletions
|
|
@ -326,6 +326,7 @@ class Client(object):
|
|||
key_path=os.path.abspath(privkey_path),
|
||||
chain_path=chain_path,
|
||||
fullchain_path=fullchain_path)
|
||||
self.installer.save()
|
||||
|
||||
self.installer.save("Deployed Let's Encrypt Certificate")
|
||||
# sites may have been enabled / final cleanup
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ class ClientTest(unittest.TestCase):
|
|||
domain='foo.bar',
|
||||
fullchain_path='fullchain',
|
||||
key_path=os.path.abspath("key"))
|
||||
self.assertEqual(installer.save.call_count, 1)
|
||||
self.assertEqual(installer.save.call_count, 2)
|
||||
installer.restart.assert_called_once_with()
|
||||
|
||||
@mock.patch("letsencrypt.client.enhancements")
|
||||
|
|
|
|||
Loading…
Reference in a new issue