# File lib/puppet/util/filetype.rb, line 247 247: def read 248: output = Puppet::Util.execute(%w{crontab -l}, :uid => @path) 249: raise Puppet::Error, "User #{@path} not authorized to use cron" if output.include?("You are not authorized to use the cron command") 250: return output 251: rescue => detail 252: raise Puppet::Error, "Could not read crontab for #{@path}: #{detail}" 253: end