diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2011-10-03 11:51:05 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2011-10-03 11:51:05 -0700 |
commit | 11c18377456bd32fc91af78300e4d4dad2c42a02 (patch) | |
tree | c774302c46efde850662da3c3588d93e21e6f570 /spec/unit/puppet/parser/functions/delete_at_spec.rb | |
parent | 05018f68199470f5f43e68bd54c7a39c9e8b3a85 (diff) | |
download | puppet-stdlib-11c18377456bd32fc91af78300e4d4dad2c42a02.tar.gz puppet-stdlib-11c18377456bd32fc91af78300e4d4dad2c42a02.tar.bz2 |
(#9859) Add root_home fact and tests
Without this patch applied, the stdlib module does not provide a
root_home fact. This fact is necessary to easily determine the root
account home directory on platforms Puppet is supported on.
The major variations this fact address are:
---
solaris: /
linux: /root
macosx: /var/root
Spec tests using rspec have been provided as well to cover these three
general cases. Windows tests are marked as pending.
Diffstat (limited to 'spec/unit/puppet/parser/functions/delete_at_spec.rb')
0 files changed, 0 insertions, 0 deletions