From ad2f65f4c7a6acd76680dd3c6e7673f686e23cb6 Mon Sep 17 00:00:00 2001 From: mdklapwijk Date: Mon, 4 Nov 2024 11:47:33 +0000 Subject: [PATCH] fix: use require_relative to require puppet_x --- lib/facter/logical_volumes.rb | 2 +- lib/facter/physical_volumes.rb | 2 +- lib/facter/volume_groups.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/facter/logical_volumes.rb b/lib/facter/logical_volumes.rb index da68c6cb..663aa10c 100644 --- a/lib/facter/logical_volumes.rb +++ b/lib/facter/logical_volumes.rb @@ -9,7 +9,7 @@ setcode do # Require the helper methods to reduce duplication - require 'puppet_x/lvm/output' + require_relative '../puppet_x/lvm/output' # List columns here that can be passed to the lvs -o command. Dont't # include things in here that might be bland as we currently can't deal diff --git a/lib/facter/physical_volumes.rb b/lib/facter/physical_volumes.rb index a2c69b50..795318b3 100644 --- a/lib/facter/physical_volumes.rb +++ b/lib/facter/physical_volumes.rb @@ -9,7 +9,7 @@ setcode do # Require the helper methods to reduce duplication - require 'puppet_x/lvm/output' + require_relative '../puppet_x/lvm/output' # List columns here that can be passed to the lvs -o command. Dont't # include things in here that might be bland as we currently can't deal diff --git a/lib/facter/volume_groups.rb b/lib/facter/volume_groups.rb index 37aa29b2..688c671f 100644 --- a/lib/facter/volume_groups.rb +++ b/lib/facter/volume_groups.rb @@ -9,7 +9,7 @@ setcode do # Require the helper methods to reduce duplication - require 'puppet_x/lvm/output' + require_relative '../puppet_x/lvm/output' # List columns here that can be passed to the lvs -o command. Dont't # include things in here that might be bland as we currently can't deal