RT-Extension-Assets-AppleGSX - Apple GSX for RT Assets
May need root permissions
Only run this the first time you install this module; this will create several custom fields for assets. If you already have custom fields for serial numbers and warantee information, this step is unnecessary.
Running make initdb twice will cause duplicate custom fields.
make initdb
Add this line:
Set(@Plugins, qw(RT::Extension::Assets::AppleGSX));
or add RT::Extension::Assets::AppleGSX to your existing @Plugins line.
RT::Extension::Assets::AppleGSX
@Plugins
You must configure the authentication information used to connect to GSX via the web UI, at Tools -> Configuration -> Assets -> Apple GSX. This menu option is only available to SuperUsers.
Additionally, if you are not using the supplied custom fields, you may wish to Set one or more of the following in your RT_SiteConfig.pm (their defaults are shown):
# Name of custom field containing serial number Set( $AppleGSXSerialCF => "Serial Number" ) # CFs to import from GSX, and their names there Set( %AppleGSXMap, 'Warranty Status' => 'warrantyStatus', 'Warranty Start Date' => 'coverageStartDate', 'Warranty End Date' => 'coverageEndDate', ); # Only attempt to import data from GSX for assets matching the # following CF values: Set( %AppleGSXChecks, 'Trademark' => qr/\bApple(Care)?\b/i, );
You will likely wish to configure this script to run regularly, via a cron job.
sunnavy <sunnavy@bestpractical.com>
All bugs should be reported via http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-Assets-AppleGSX or bug-RT-Extension-Assets-AppleGSX@rt.cpan.org.
This software is Copyright (c) 2013 by Best Practical Solutions
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install RT::Extension::Assets::AppleGSX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::Assets::AppleGSX
CPAN shell
perl -MCPAN -e shell install RT::Extension::Assets::AppleGSX
For more information on module installation, please visit the detailed CPAN module installation guide.