diff --git a/certbot-apache/certbot_apache/augeasparser.py b/certbot-apache/certbot_apache/augeasparser.py index 0c582275c..8141f0d77 100644 --- a/certbot-apache/certbot_apache/augeasparser.py +++ b/certbot-apache/certbot_apache/augeasparser.py @@ -185,7 +185,7 @@ class AugeasBlockNode(AugeasDirectiveNode): # Because of the dynamic nature, and the fact that we're not populating # the complete ParserNode tree, we use the search parent as ancestor return AugeasCommentNode(comment=comment, - ancestor=self, + ancestor=assertions.PASS, filepath=apache_util.get_file_path(path), metadata=metadata)