Browse Source

Correct error on the fact name (is_pve_kernel).

master
gardouille 5 years ago
parent
commit
14d4291223
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/facter/is_pve_kernel.rb

+ 2
- 2
lib/facter/is_pve_kernel.rb 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/


Loading…
Cancel
Save