puppetlabs/facter — pull request #530 by llowder (2013-08-30 13:57:48+00:00)
Title: (#22322) Squash stderr on Solaris and AIX when there is no swap

This patch redirects stderr to /dev/null on SOlaris and AIX when the swap -l command is issued. If no swap device is present, then the message "No swap devices configured" is printed to stderr. This, in addition to causing unnecassary log messages, causes certain cron jobs used by Puppet Enterprise to generate emails to root.