blob: 44db8ac982efb08afd7bb5a0f2cd004436e1b7b9 [file] [log] [blame]
Facter.add('backuppc_hosts') do
setcode do
if File.exists?('/etc/backuppc/hosts')
data = File.open('/etc/backuppc/hosts').read.split(/\n/)
data.shift
data.map {|it| it.split(' ')[0] }
end
end
end