summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2008-12-09 11:38:42 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2008-12-09 11:38:42 -0800
commit9907915c65979eab300c5e8e1dbcef2aa68db8c4 (patch)
tree208e11e22701ef8fa5ea0c39422b8feac6c83879
parent6b1026f15eadf157281b39415eb211faf21f0cc2 (diff)
downloadvyatta-cluster-9907915c65979eab300c5e8e1dbcef2aa68db8c4.tar.gz
vyatta-cluster-9907915c65979eab300c5e8e1dbcef2aa68db8c4.zip
Convert to Vyatta::
-rwxr-xr-xscripts/vyatta-show-cluster.pl2
-rwxr-xr-xscripts/vyatta-update-cluster.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-show-cluster.pl b/scripts/vyatta-show-cluster.pl
index cd54968..ae6b379 100755
--- a/scripts/vyatta-show-cluster.pl
+++ b/scripts/vyatta-show-cluster.pl
@@ -6,7 +6,7 @@ use Vyatta::Cluster::Config;
my $CL_STATUS = "/usr/bin/cl_status";
-my $config = new VyattaClusterConfig;
+my $config = new Vyatta::Cluster::Config;
$config->setupOrig("cluster");
if ($config->isEmpty()) {
# config is empty.
diff --git a/scripts/vyatta-update-cluster.pl b/scripts/vyatta-update-cluster.pl
index c2a438c..ddce2f2 100755
--- a/scripts/vyatta-update-cluster.pl
+++ b/scripts/vyatta-update-cluster.pl
@@ -8,7 +8,7 @@ my $HA_DIR = "/etc/ha.d";
my $HA_INIT = "/etc/init.d/heartbeat";
my $SERVICE_DIR = "/etc/init.d";
-my $config = new VyattaClusterConfig;
+my $config = new Vyatta::Cluster::Config;
$config->setup("cluster");
if ($config->isEmpty()) {
# config is empty => deleted.