☰
Debian Codegraph
@
28.0.0-2
28.0.0-1
/
/
lib
/
facter
/
libvirt_uuid.rb
☽
☼
lib/facter/libvirt_uuid.rb
code
plain
raw
Apache-2.0
(c) 2013-2016, OpenStack Foundation <
[email protected]
>; (c) 2014, eNovance SAS <
[email protected]
>
debian/copyright
1
require 'facter'
2
Facter.add(:libvirt_uuid) do
3
setcode do
4
uuid_file_path = '/etc/libvirt/libvirt_uuid'
5
if File.file? uuid_file_path
6
File.read uuid_file_path
7
else
8
nil
9
end
10
end
11
end