summaryrefslogtreecommitdiffstats
path: root/vespaclient
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahoo-inc.com>2017-06-09 13:20:50 +0000
committerGeir Storli <geirst@yahoo-inc.com>2017-06-09 13:20:50 +0000
commita8b8b13b0eca402944febc117466785c6858dbb1 (patch)
tree67aa82f5877d21b92fd1c122ea4ab990e026de14 /vespaclient
parent8cec7dcc18f268a647cfb5958f62dda864adba1f (diff)
Install scripts for handling node/cluster state.
Diffstat (limited to 'vespaclient')
-rw-r--r--vespaclient/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/vespaclient/CMakeLists.txt b/vespaclient/CMakeLists.txt
index 2866bf6b577..e07c94071f3 100644
--- a/vespaclient/CMakeLists.txt
+++ b/vespaclient/CMakeLists.txt
@@ -20,3 +20,17 @@ vespa_define_module(
src/vespa/vespaclient/vespadoclocator
src/vespa/vespaclient/vesparoute
)
+
+vespa_install_script(src/perl/bin/SetNodeState.pl vespa-set-node-state bin)
+vespa_install_script(src/perl/bin/GetNodeState.pl vespa-get-node-state bin)
+vespa_install_script(src/perl/bin/GetClusterState.pl vespa-get-cluster-state bin)
+
+install(DIRECTORY src/perl/lib/Yahoo/Vespa/
+ DESTINATION lib/perl5/site_perl/Yahoo/Vespa
+ FILES_MATCHING
+ PATTERN "*.pm")
+
+install(DIRECTORY src/perl/lib/Yahoo/Vespa/Bin/
+ DESTINATION lib/perl5/site_perl/Yahoo/Vespa/Bin
+ FILES_MATCHING
+ PATTERN "*.pm")