remove defaultto :undef. Seems unnecessary and breaks with ruby 1.8.7 and puppet 3.7.2