This website works better with JavaScript.
Home
Explore
Help
Sign In
puppet
/
proxmox
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Correct error on the fact name (is_pve_kernel).
master
gardouille
5 years ago
parent
6bed6d9f9b
commit
14d4291223
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
lib/facter/is_pve_kernel.rb
+ 2
- 2
lib/facter/is_pve_kernel.rb
View File
@ -1,11 +1,11 @@
# Fact: is_p
roxmox
# Fact: is_p
ve_kernel
#
# Purpose: Returns true if the system runs a PVE kernel.
#
#
require
'facter'
Facter
.
add
(
:is_p
roxmox
)
do
Facter
.
add
(
:is_p
ve_kernel
)
do
setcode
do
pve
=
if
Facter
.
value
(
:kernelrelease
)
=~
/
^*pve
/
Write
Preview
Loading…
Cancel
Save