summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--templates-op/show/cluster/status/node.def2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 21df18b..7e37418 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,9 +1,10 @@
cfgdir = $(datadir)/vyatta-cfg/templates
opdir = $(datadir)/vyatta-op/templates
share_perl5dir = $(datadir)/perl5
+bin_sudo_usersdir = $(bindir)/sudo-users
sbin_SCRIPTS = scripts/vyatta-update-cluster.pl
-sbin_SCRIPTS += scripts/vyatta-show-cluster.pl
+bin_sudo_users_SCRIPTS = scripts/vyatta-show-cluster.pl
share_perl5_DATA = scripts/VyattaClusterConfig.pm
diff --git a/templates-op/show/cluster/status/node.def b/templates-op/show/cluster/status/node.def
index a9ff771..564f926 100644
--- a/templates-op/show/cluster/status/node.def
+++ b/templates-op/show/cluster/status/node.def
@@ -1,2 +1,2 @@
help: Show the current clustering status
-run: sudo /opt/vyatta/sbin/vyatta-show-cluster.pl
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-cluster.pl