mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:14:54 +02:00
Forgot to finish merge with augeas.py
This commit is contained in:
@@ -37,13 +37,10 @@ class AugeasConfigurator(object):
|
|||||||
"temp": CONFIG.TEMP_CHECKPOINT_DIR,
|
"temp": CONFIG.TEMP_CHECKPOINT_DIR,
|
||||||
"progress": CONFIG.IN_PROGRESS_DIR}
|
"progress": CONFIG.IN_PROGRESS_DIR}
|
||||||
|
|
||||||
# TODO: this instantiation can be optimized to only load
|
# Set Augeas flags to not save backup (we do it ourselves)
|
||||||
# relevant files - I believe -> NO_MODL_AUTOLOAD
|
# Set Augeas to not load anything by default
|
||||||
# Set Augeas flags to save backup
|
|
||||||
my_flags = augeas.Augeas.NONE | augeas.Augeas.NO_MODL_AUTOLOAD
|
my_flags = augeas.Augeas.NONE | augeas.Augeas.NO_MODL_AUTOLOAD
|
||||||
self.aug = augeas.Augeas(flags=my_flags)
|
self.aug = augeas.Augeas(flags=my_flags)
|
||||||
self.aug.add_transform("Httpd.lns", "/etc/apache2/apache2.conf")
|
|
||||||
|
|
||||||
self.save_notes = ""
|
self.save_notes = ""
|
||||||
|
|
||||||
# See if any temporary changes need to be recovered
|
# See if any temporary changes need to be recovered
|
||||||
|
|||||||
Reference in New Issue
Block a user