proxmox/lib/facter/is_proxmox.rb
Gardouille add74a6e37 New class: proxmox::hypervisor::config
Remove the subscription message at the login on the webgui.
Add a fact to check if Proxmox is available on the system.
2015-01-08 23:50:53 +01:00

8 lines
101 B
Ruby

#is_proxmox.rb
Facter.add("is_proxmox") do
setcode do
FileTest.exists?("/etc/pve/")
end
end