9b95aa0a35
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
7 lines
173 B
Ruby
7 lines
173 B
Ruby
Facter.add("install_uuid") do
|
|
setcode do
|
|
Facter::Util::Resolution.exec("awk -F= '{if ($1 == \"INSTALL_UUID\") { print $2; }}' /etc/platform/platform.conf")
|
|
end
|
|
end
|
|
|