Issue #1682 has been reported by rgsteele.

----------------------------------------
Bug #1682: Array variables not properly flattened
http://projects.reductivelabs.com/issues/show/1682

Author: rgsteele
Status: Unreviewed
Priority: High
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.6
Keywords: 


These should output the same thing, but they do not.  This is against the 
latest version as of today.

manifest version 1

   #!/usr/bin/env puppet

   $groups = ["foo", "bar"]
   $type_groups = ["baz", "quux"]
   $user_groups = [$groups, $type_groups]

   notify { $user_groups: }


output version 1

   [EMAIL PROTECTED]:/etc/puppet/manifests# ./test.pp 
   notice: foo
   notice: baz

manifest version 2

   #!/usr/bin/env puppet

   $user_groups = [ ["foo", "bar"], ["baz", "quux"] ]

   notify { $user_groups2: }

output version 2

   [EMAIL PROTECTED]:/etc/puppet/manifests# ./test.pp 
   notice: foo
   notice: baz
   notice: bar
   notice: quux



----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to