Correct error on the fact name (is_pve_kernel).

This commit is contained in:
gardouille 2015-04-17 14:48:46 +02:00
parent 6bed6d9f9b
commit 14d4291223
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# Fact: is_proxmox
# Fact: is_pve_kernel
#
# Purpose: Returns true if the system runs a PVE kernel.
#
#
require 'facter'
Facter.add(:is_proxmox) do
Facter.add(:is_pve_kernel) do
setcode do
pve = if Facter.value(:kernelrelease) =~ /^*pve/