summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2011-01-26 08:54:55 +1100
committerDaniel Pittman <daniel@rimspace.net>2011-01-25 22:11:10 -0800
commitf1ab58839b5fc2d311b2c2656e480fb563acd03f (patch)
tree64afdfe3b19b4a6c1c582fa71bfcf7fc6c53de03 /lib/puppet/util/autoload.rb
parent41090d3617d99f9eaa58df32be93f3d16467bc50 (diff)
downloadpuppet-f1ab58839b5fc2d311b2c2656e480fb563acd03f.tar.gz
puppet-f1ab58839b5fc2d311b2c2656e480fb563acd03f.tar.xz
puppet-f1ab58839b5fc2d311b2c2656e480fb563acd03f.zip
Fixed #6009 - nested member list vs directory service group provider
The Directory Service group (and user) provider behaves erratically if members is a nested list; this happens with the following manifest: $r = ["root"] $a = ["daemon", "crc"] $n = ["nobody"] group { "testgroup": ensure => present, members => [$r, $a, $n] } This resolves the issue by flattening the list at the time we are using it; while a more general solution might be desirable this resolves the specific issue cleanly enough. Original patch from Clay Caviness. Tests by Daniel Pittman <daniel@puppetlabs.com> Signed-off-by: Daniel Pittman <daniel@puppetlabs.com> Signed-off-by: James Turnbull <james@lovedthanlost.net>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions