X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Flib%2Ffacter%2Froot_home.rb;h=7544dd09eaa1c970b72aa0ce1cf5706b6e76b128;hp=d4add7b4d2e4fef19860c6cfe66b28bbfa39aa19;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/facter/root_home.rb b/3rdparty/modules/stdlib/lib/facter/root_home.rb index d4add7b4d..7544dd09e 100644 --- a/3rdparty/modules/stdlib/lib/facter/root_home.rb +++ b/3rdparty/modules/stdlib/lib/facter/root_home.rb @@ -1,8 +1,11 @@ -# A facter fact to determine the root home directory. -# This varies on PE supported platforms and may be -# reconfigured by the end user. +# root_home.rb module Facter::Util::RootHome + # @summary + # A facter fact to determine the root home directory. + # This varies on PE supported platforms and may be + # reconfigured by the end user. class << self + # determines the root home directory def returnt_root_home root_ent = Facter::Util::Resolution.exec('getent passwd root') # The home directory is the sixth element in the passwd entry