diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-18 18:26:15 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-18 18:26:15 -0800 |
commit | 260d88ab1aacd85bf406ed7b06d00c617fcaa19d (patch) | |
tree | dd0b74dcce7cb9eeca55faff4e17445397992e0d | |
parent | 41aac6942e89fa24b938ec188a0933e52acff623 (diff) | |
download | vyatta-cluster-260d88ab1aacd85bf406ed7b06d00c617fcaa19d.tar.gz vyatta-cluster-260d88ab1aacd85bf406ed7b06d00c617fcaa19d.zip |
make cluster show command available to "users"
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | templates-op/show/cluster/status/node.def | 2 |
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 |