Install scripts for handling node/cluster state.
@@ -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")
