averi pushed to check-mk (el5). "Do not install all the plugins by default but make them available on a different directory. Users will then be able to symlink each of the plugins under the %%{_datadir}/check-mk-agent/plugins directory and finally mark them as active. (BZ: #1218516)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue May 5 12:25:41 UTC 2015
>From a4217190ddfcf39c39b6c710e5b87f455d1d86e7 Mon Sep 17 00:00:00 2001
From: Andrea Veri <av at gnome.org>
Date: Tue, 5 May 2015 13:31:20 +0200
Subject: Do not install all the plugins by default but make them available on
a different directory. Users will then be able to symlink each of the plugins
under the %%{_datadir}/check-mk-agent/plugins directory and finally mark them
as active. (BZ: #1218516)
diff --git a/check-mk.spec b/check-mk.spec
index d5676f0..db2db83 100644
--- a/check-mk.spec
+++ b/check-mk.spec
@@ -173,9 +173,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/nagios/conf.d/
cp -r %{buildroot}%{_datadir}/check_mk/check_mk_templates.cfg %{buildroot}%{_sysconfdir}/nagios/conf.d/check_mk_templates.cfg
rm %{buildroot}%{_sysconfdir}/nagios/objects/check_mk_templates.cfg
-# PLUGINSDIR on the check_mk_agent binary file is set to be %%{_datadir}/check-mk-agent/plugins,
-# make sure files are copied over to the correct location.
-cp -r %{buildroot}%{_datadir}/check_mk/agents/plugins/* %{buildroot}%{_datadir}/check-mk-agent/plugins/
+# Do not install all the plugins by default but make them available on a different
+# directory. Users will then be able to symlink each of the plugins under the
+# %%{_datadir}/check-mk-agent/plugins directory and finally mark them as active. (BZ: #1218516)
+mkdir -p %{buildroot}%{_datadir}/check-mk-agent/available-plugins/
+cp -r %{buildroot}%{_datadir}/check_mk/agents/plugins/* %{buildroot}%{_datadir}/check-mk-agent/available-plugins/
rm -rf %{buildroot}%{_datadir}/check_mk/agents/plugins/
# Move the shebang from /usr/bin/bash to /bin/bash, which is the right path for the
@@ -349,6 +351,10 @@ rmdir %{buildroot}%{_prefix}/lib/check_mk
%changelog
* Tue May 05 2015 Andrea Veri <averi at fedoraproject.org> - 1.2.6p2-1
- New upstream release.
+- Do not install all the plugins by default but make them available
+ on a different directory. Users will then be able to symlink each
+ of the plugins under the %%{_datadir}/check-mk-agent/plugins directory
+ and finally mark them as active. (BZ: #1218516)
* Mon Apr 13 2015 Andrea Veri <averi at fedoraproject.org> - 1.2.6p1-1
- New upstream release.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/check-mk.git/commit/?h=el5&id=a4217190ddfcf39c39b6c710e5b87f455d1d86e7
More information about the scm-commits
mailing list