summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/reference.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-10-01 00:07:24 -0500
committerJames Turnbull <james@lovedthanlost.net>2008-10-02 07:32:03 +1000
commit862077513570c996e9124743369c9af92485151f (patch)
tree055d2e11ab95d2c9a6f85c31e046382f41126c99 /lib/puppet/util/reference.rb
parent63ad84587892e9cab851cf516f7a381c5ea51f90 (diff)
downloadpuppet-862077513570c996e9124743369c9af92485151f.tar.gz
puppet-862077513570c996e9124743369c9af92485151f.tar.xz
puppet-862077513570c996e9124743369c9af92485151f.zip
Fixed #791 - You should now be able to create and find a user/group in one transaction.
The real problem was that the 'gid' and 'uid' methods didn't handle the case where 'get_posix_field' didn't return a value, and the subsequent 'get_posix_field' calls couldn't handle that. This commit moves the tests for Posix to spec, and fixes the specific bug. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/util/reference.rb')
0 files changed, 0 insertions, 0 deletions