OCS Inventory Agent OSX 10.10 SSL

The OCS Inventory Agent SSL fails on OSX 10.10.  Use the following script below to install the required SSL perl modules.  The bundled perl modules do not work with the version of perl install on 10.10.

#!/bin/bash

logfile=/var/log/ardscripts.log
exec >> $logfile 2>&1
echo “Install Perl Modules”
sudo PERL_MM_USE_DEFAULT=1 perl -MCPAN -e “install Bytes::Random::Secure;”
sudo PERL_MM_USE_DEFAULT=1 perl -MCPAN -e “install Crypt::SSLeay”
exit 0


Get Your Geek On