diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-11-10 16:42:08 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-11-10 16:42:08 -0800 |
commit | 4d00261f1e05335a14ec873c99c869c9e9c1374b (patch) | |
tree | 980f105536f57d99516c14f5d90c5ffdee2a55d9 /lib/Vyatta | |
parent | 54e206593bbc8aeaa4e49641c4406510ceeee476 (diff) | |
download | vyatta-config-mgmt-4d00261f1e05335a14ec873c99c869c9e9c1374b.tar.gz vyatta-config-mgmt-4d00261f1e05335a14ec873c99c869c9e9c1374b.zip |
Fix rollback such that it also goes throught the revisioning.
Diffstat (limited to 'lib/Vyatta')
-rw-r--r-- | lib/Vyatta/ConfigMgmt.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Vyatta/ConfigMgmt.pm b/lib/Vyatta/ConfigMgmt.pm index 9a49aac..9a0776b 100644 --- a/lib/Vyatta/ConfigMgmt.pm +++ b/lib/Vyatta/ConfigMgmt.pm @@ -32,7 +32,7 @@ our @EXPORT = qw(cm_commit_add_log cm_commit_get_log cm_get_archive_dir cm_commit_get_file cm_commit_get_file_name cm_get_max_revs cm_get_num_revs cm_get_last_commit_file cm_get_last_push_file cm_get_boot_config_file - cm_get_config_rb + cm_get_config_rb cm_get_config_dir ); use base qw(Exporter); @@ -70,6 +70,10 @@ sub cm_get_archive_dir { return $archive_dir; } +sub cm_get_config_dir { + return $config_dir; +} + sub cm_get_lr_conf_file { return $lr_conf_file; } |