mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Forgot to finish merge with augeas.py
This commit is contained in:
parent
cd347990c5
commit
7a238bd0de
1 changed files with 3 additions and 6 deletions
|
|
@ -37,13 +37,10 @@ class AugeasConfigurator(object):
|
|||
"temp": CONFIG.TEMP_CHECKPOINT_DIR,
|
||||
"progress": CONFIG.IN_PROGRESS_DIR}
|
||||
|
||||
# TODO: this instantiation can be optimized to only load
|
||||
# relevant files - I believe -> NO_MODL_AUTOLOAD
|
||||
# Set Augeas flags to save backup
|
||||
# Set Augeas flags to not save backup (we do it ourselves)
|
||||
# Set Augeas to not load anything by default
|
||||
my_flags = augeas.Augeas.NONE | augeas.Augeas.NO_MODL_AUTOLOAD
|
||||
self.aug = augeas.Augeas(flags=my_flags)
|
||||
self.aug.add_transform("Httpd.lns", "/etc/apache2/apache2.conf")
|
||||
|
||||
self.save_notes = ""
|
||||
|
||||
# See if any temporary changes need to be recovered
|
||||
|
|
@ -172,4 +169,4 @@ class AugeasConfigurator(object):
|
|||
|
||||
def view_config_changes(self):
|
||||
"""Show all of the configuration changes that have taken place."""
|
||||
self.reverter.show_config_changes()
|
||||
self.reverter.show_config_changes()
|
||||
|
|
|
|||
Loading…
Reference in a new issue