Added a test to see if the lookup variables megaraid_device and megaraid_drive are :undefined

When running without megaraid devices puppet throws an error about being unable
to split on :undefined:Symbol so we should test if its undefined and not attempt
the split
Merge pull request #1 from ucam-cl-dtg/master

Test for megaraid device symbols being :undefined in smartd.conf template