Merge pull request #1226 from SwartzCr/issue_809

Apache with more than one vhost (fixes #809)
This commit is contained in:
bmw 2015-10-30 16:48:33 -07:00
commit b36be129b6
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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")