Debian puppet无法检索事实selinux

Debian puppet无法检索事实selinux,debian,puppet,facter,Debian,Puppet,Facter,我有一个puppet节点,它在cron上运行: /usr/bin/puppet agent --onetime --no-daemonize 我在debian Wheezy中工作得很好,但升级到debian Jessie后,每次puppet agent运行时,我都会在节点上收到以下消息: Could not retrieve fact='selinux_current_mode', resolution='<anonymous>': undefined method `each_l

我有一个puppet节点,它在cron上运行:

/usr/bin/puppet agent --onetime --no-daemonize
我在debian Wheezy中工作得很好,但升级到debian Jessie后,每次puppet agent运行时,我都会在节点上收到以下消息:

Could not retrieve fact='selinux_current_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Could not retrieve fact='selinux_config_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Could not retrieve fact='selinux_config_policy', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
它不在那里,所以我不知道还要检查什么。节点puppet版本为3.7.2-4,puppet服务器为puppetmaster 3.7.5-1SuppletLabs1


有什么提示吗?谢谢。

可能您的一些傀儡清单利用了facter提供的selinux事实。您能否确保您机器上的selinux已启用?只需检查selinux事实的值。关于selinux in-facter的更多信息:您使用的是什么版本的facter?您是在主机上还是在运行代理的节点上看到这些消息?这些消息在节点上。facter的版本是:2.2.0
facts_terminus = inventory_active_record