diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2013-11-21 16:33:00 -0500 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2013-11-21 16:33:00 -0500 |
commit | 71072d8ef1a924484cf7b20af3b57f2f9a1dc8c8 (patch) | |
tree | 58df39fdb94aa3772b41080751eb3f4120a07082 /lib/facter | |
parent | 5dc585e642997c12eea120963b771c9a46d4aada (diff) | |
download | puppet-monkeysphere-71072d8ef1a924484cf7b20af3b57f2f9a1dc8c8.tar.gz puppet-monkeysphere-71072d8ef1a924484cf7b20af3b57f2f9a1dc8c8.tar.bz2 |
silence failures to show keys that would spam puppet output
Diffstat (limited to 'lib/facter')
-rw-r--r-- | lib/facter/monkeysphere.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/monkeysphere.rb b/lib/facter/monkeysphere.rb index 1d7d68e..6f48a4d 100644 --- a/lib/facter/monkeysphere.rb +++ b/lib/facter/monkeysphere.rb @@ -5,7 +5,7 @@ ssh_fingerprint = ' ' if File.exist?('/usr/sbin/monkeysphere-host') - sk = %x{/usr/sbin/monkeysphere-host show-keys} + sk = %x{/usr/sbin/monkeysphere-host show-keys 2>/dev/null} if $? == 0 has_hostkey = true sk.lines.each do |line| |