]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(PUP-1459) Add support for root_home on OS X 10.9
authorWilliam Van Hevelingen <blkperl@cat.pdx.edu>
Fri, 17 Jan 2014 06:22:38 +0000 (22:22 -0800)
committerWilliam Van Hevelingen <blkperl@cat.pdx.edu>
Thu, 23 Jan 2014 06:54:34 +0000 (22:54 -0800)
commitfe676f0ac4e1d96e77ba7fe894408d8e7647eacc
tree49540bcda1fc5b7dc91c9920ba147200047679fa
parente49d356fbf84798ebf7dbd5682de18c368b0ccec
(PUP-1459) Add support for root_home on OS X 10.9

getent does not exist on 10.9 so this commit uses
dscacheutil to query the homedir for the root user.
lib/facter/root_home.rb
spec/fixtures/dscacheutil/root [new file with mode: 0644]
spec/unit/facter/root_home_spec.rb