mosen/puppet-cups — pull request #23 by leinaddm (2013-12-04 22:46:24+00:00)
Title: ignore lines not starting with 'printer' in lpstat -p

sometimes the output of 'lpstat -p' contains lines like 'Printer is now
on-line' or 'Ready to print'. In these cases facter (or a puppet run)
outputs the following warning:

Could not retrieve printers: undefined method `captures' for nil:NilClass

This patch ignores lines not starting with 'printers'