diff options
author | Ramesh Nachimuthu <rnachimu@redhat.com> | 2015-01-30 15:31:00 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2015-02-11 08:34:28 -0800 |
commit | d8b8a8177004ecbc32c810ce3eccce5812618a5b (patch) | |
tree | f86b5c8d6037555cd4f385292be8bcf06201e1a1 /nagios-server-addons.spec.in | |
parent | 1f77b834ac27b73f209496a5e0358fb0f107de6f (diff) |
auto-config: provide a command to run auto discovery.
Provide a command to perform auto-discovery.
Change-Id: I26aa48532f4e8c9f305c36294f48cddf5785b491
Bug-URL: https://bugzilla.redhat.com/1164682
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/9514
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Bala FA <barumuga@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'nagios-server-addons.spec.in')
-rw-r--r-- | nagios-server-addons.spec.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nagios-server-addons.spec.in b/nagios-server-addons.spec.in index 4b5374a..6fff972 100644 --- a/nagios-server-addons.spec.in +++ b/nagios-server-addons.spec.in @@ -118,6 +118,8 @@ make check %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} +install -d "%{buildroot}%{_bindir}" +ln -sf "%{_libdir}/nagios/plugins/gluster/discovery.py" "%{buildroot}%{_bindir}/configure-gluster-nagios" %clean rm -rf %{buildroot} @@ -252,6 +254,7 @@ fi %{_sysconfdir}/pnp4nagios/check_commands/check_disk_and_inode.cfg %{_sysconfdir}/pnp4nagios/check_commands/check_interfaces.cfg /usr/share/snmp/mibs/* +%{_bindir}/configure-gluster-nagios %files tests %defattr(-,root,root,-) |