summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-12-03 16:38:54 -0800
committerStig Thormodsrud <stig@vyatta.com>2010-12-03 16:38:54 -0800
commitbaa9c61160c8fdee7d0d4719501ff6a558577338 (patch)
tree7d89870a7d998abdb108cc9dba3b5004fb5dafb0
parente89d82fab791f5695dcbaf5646d50aa81d9d9dbb (diff)
downloadvyatta-config-mgmt-baa9c61160c8fdee7d0d4719501ff6a558577338.tar.gz
vyatta-config-mgmt-baa9c61160c8fdee7d0d4719501ff6a558577338.zip
Change 'config-mgmt' to 'config-management' to appease support.
-rw-r--r--lib/Vyatta/ConfigMgmt.pm2
-rwxr-xr-xscripts/vyatta-commit-push.pl2
-rwxr-xr-xscripts/vyatta-config-mgmt.pl4
-rw-r--r--templates-cfg/system/config-management/commit-revisions/node.def (renamed from templates-cfg/system/config-mgmt/commit-revisions/node.def)0
-rw-r--r--templates-cfg/system/config-management/node.def (renamed from templates-cfg/system/config-mgmt/node.def)0
-rw-r--r--templates-cfg/system/config-management/remote-archive/commit-uri/node.def (renamed from templates-cfg/system/config-mgmt/remote-archive/commit-uri/node.def)0
-rw-r--r--templates-cfg/system/config-management/remote-archive/node.def (renamed from templates-cfg/system/config-mgmt/remote-archive/node.def)0
7 files changed, 4 insertions, 4 deletions
diff --git a/lib/Vyatta/ConfigMgmt.pm b/lib/Vyatta/ConfigMgmt.pm
index 90d2289..21f8f3c 100644
--- a/lib/Vyatta/ConfigMgmt.pm
+++ b/lib/Vyatta/ConfigMgmt.pm
@@ -113,7 +113,7 @@ sub cm_write_file {
sub cm_get_max_revs {
my $config = new Vyatta::Config;
- $config->setLevel('system config-mgmt');
+ $config->setLevel('system config-management');
my $revs = $config->returnOrigValue('commit-revisions');
return $revs;
}
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl
index 8b3e089..526ebe5 100755
--- a/scripts/vyatta-commit-push.pl
+++ b/scripts/vyatta-commit-push.pl
@@ -44,7 +44,7 @@ use Sys::Hostname;
my $debug = 0;
my $config = new Vyatta::Config;
-$config->setLevel('system config-mgmt remote-archive');
+$config->setLevel('system config-management remote-archive');
my @uris = $config->returnOrigValues('commit-uri');
if (scalar(@uris) < 1) {
diff --git a/scripts/vyatta-config-mgmt.pl b/scripts/vyatta-config-mgmt.pl
index 46017e0..382b685 100755
--- a/scripts/vyatta-config-mgmt.pl
+++ b/scripts/vyatta-config-mgmt.pl
@@ -147,7 +147,7 @@ my ($cmd, $rc) = ('', 1);
if ($action eq 'add-uri') {
print "add-uri\n" if $debug;
my $config = new Vyatta::Config;
- $config->setLevel('system config-mgmt remote-archive');
+ $config->setLevel('system config-management remote-archive');
my @uris = $config->returnValues('commit-uri');
my $link = get_link($commit_uri_script);
if (scalar(@uris) >= 1 and ! -e $link) {
@@ -161,7 +161,7 @@ if ($action eq 'add-uri') {
if ($action eq 'del-uri') {
print "del-uri\n" if $debug;
my $config = new Vyatta::Config;
- $config->setLevel('system config-mgmt remote-archive');
+ $config->setLevel('system config-management remote-archive');
my @uris = $config->returnValues('commit-uri');
if (scalar(@uris) <= 0) {
my $link = get_link($commit_uri_script);
diff --git a/templates-cfg/system/config-mgmt/commit-revisions/node.def b/templates-cfg/system/config-management/commit-revisions/node.def
index 854bb1e..854bb1e 100644
--- a/templates-cfg/system/config-mgmt/commit-revisions/node.def
+++ b/templates-cfg/system/config-management/commit-revisions/node.def
diff --git a/templates-cfg/system/config-mgmt/node.def b/templates-cfg/system/config-management/node.def
index e260c27..e260c27 100644
--- a/templates-cfg/system/config-mgmt/node.def
+++ b/templates-cfg/system/config-management/node.def
diff --git a/templates-cfg/system/config-mgmt/remote-archive/commit-uri/node.def b/templates-cfg/system/config-management/remote-archive/commit-uri/node.def
index 7b483f9..7b483f9 100644
--- a/templates-cfg/system/config-mgmt/remote-archive/commit-uri/node.def
+++ b/templates-cfg/system/config-management/remote-archive/commit-uri/node.def
diff --git a/templates-cfg/system/config-mgmt/remote-archive/node.def b/templates-cfg/system/config-management/remote-archive/node.def
index 073ba7a..073ba7a 100644
--- a/templates-cfg/system/config-mgmt/remote-archive/node.def
+++ b/templates-cfg/system/config-management/remote-archive/node.def