I am getting the following errors on puppet master:
Could not retrieve selinux_current_mode: undefined method `each_line' for nil:NilClass
Could not retrieve selinux_config_policy: undefined method `each_line' for nil:NilClass
Could not retrieve selinux_config_policy: undefined method `each_line' for nil:NilClass
Could not retrieve selinux_config_mode: undefined method `each_line' for nil:NilClass
I am not using SELinux and have verified it by checking the enforce file. Still I am getting this error.
I checked online and narrowed my search that it is somewhat related to facter. Still I am unable to find the cause of this error.
Can anyone of you please help me with this ?