Commit 7296091d authored by Mattias Ellert's avatar Mattias Ellert

Don't install LDAP files when LDAP service is disabled

parent 4b0b1146
......@@ -14,6 +14,7 @@ debian/tmp/usr/share/arc/cancel-*-job
debian/tmp/usr/share/arc/scan-*-job
debian/tmp/usr/share/arc/submit-*-job
debian/tmp/usr/share/arc/perferator
debian/tmp/usr/share/arc/PerfData.pl
debian/tmp/usr/lib/arc/libarex.so
debian/tmp/usr/lib/arc/libarex.apd
......
......@@ -3,4 +3,3 @@ debian/tmp/usr/share/arc/create-slapd-config
debian/tmp/usr/share/arc/glue-generator.pl
debian/tmp/usr/share/arc/glite-info-provider-ldap
debian/tmp/usr/share/arc/ldap-schema
debian/tmp/usr/share/arc/PerfData.pl
......@@ -1194,7 +1194,6 @@ service arc-infosys-ldap condrestart > /dev/null 2>&1 || :
%{_datadir}/%{pkgdir}/glue-generator.pl
%{_datadir}/%{pkgdir}/glite-info-provider-ldap
%{_datadir}/%{pkgdir}/ldap-schema
%{_datadir}/%{pkgdir}/PerfData.pl
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-infosys-ldap
%files monitor
......@@ -1279,6 +1278,7 @@ service arc-infosys-ldap condrestart > /dev/null 2>&1 || :
%{_datadir}/%{pkgdir}/scan_common.sh
%{_datadir}/%{pkgdir}/lrms_common.sh
%{_datadir}/%{pkgdir}/perferator
%{_datadir}/%{pkgdir}/PerfData.pl
%doc %{_mandir}/man1/arcctl.1*
%doc %{_mandir}/man1/arc-config-check.1*
%doc %{_mandir}/man1/cache-clean.1*
......
......@@ -7,23 +7,25 @@ else
endif
pkgdata_SCRIPTS = CEinfo.pl PerfData.pl
dist_pkgdata_SCRIPTS = glue-generator.pl glite-info-provider-ldap
dist_pkgdata_DATA = ARC0mod.pm SGEmod.pm FORKmod.pm PBS.pm PBSPRO.pm \
LL.pm LSF.pm Condor.pm condor_env.pm SLURM.pm SLURMmod.pm Boinc.pm \
IniParser.pm LogUtils.pm Sysinfo.pm \
LRMSInfo.pm GMJobsInfo.pm HostInfo.pm RTEInfo.pm \
InfoChecker.pm ConfigCentral.pm \
InfoChecker.pm \
ARC0ClusterInfo.pm ARC1ClusterInfo.pm \
SGE.pm Fork.pm \
XmlPrinter.pm GLUE2xmlPrinter.pm \
LdifPrinter.pm GLUE2ldifPrinter.pm \
NGldifPrinter.pm InfosysHelper.pm $(PYTHON_LRMS)
EXTRA_DIST = SLURMPYmod.pm
pkgdata_DATA = ConfigCentral.pm
if LDAP_SERVICE_ENABLED
dist_pkgdata_SCRIPTS = glue-generator.pl glite-info-provider-ldap
arcldapschemadir = $(pkgdatadir)/ldap-schema
dist_arcldapschema_DATA = schema/nordugrid.schema
endif
PERL = @PERL@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment