aristanetworks/puppet-eos — pull request #1 by darktim (2013-09-11 10:39:31+00:00)
Title: only check lines if there is a result of cmd

Hi

if cmd is executed on a non-arista box, "lines" will be nil and nil.split is not working.
Therefore an empty array is returned if the result of cmd is nil.

Greetz,
Andre