# File lib/facter/util/dhcp_servers.rb, line 37 def self.network_manager_state # If the version is >= 0.9.9, use g instead of nm if is_newer_nmcli? output = Facter::Core::Execution.exec('nmcli -t -f STATE g 2>/dev/null') else output = Facter::Core::Execution.exec('nmcli -t -f STATE nm 2>/dev/null') end return nil unless output output.strip end