projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
facter
/
root_home.rb
diff --git
a/3rdparty/modules/stdlib/lib/facter/root_home.rb
b/3rdparty/modules/stdlib/lib/facter/root_home.rb
index
d4add7b
..
7544dd0
100644
(file)
--- 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
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
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
def returnt_root_home
root_ent = Facter::Util::Resolution.exec('getent passwd root')
# The home directory is the sixth element in the passwd entry