Issue #1584 has been updated by jamtur01.

Status changed from Unreviewed to Needs design decision
Assigned to set to luke

If you're happy with the new code Luke then I'll commit.  We'll need to update 
the Language Tutorial with this feature.  

Brice - you fancy writing a paragraph with some examples or I can if you like.
----------------------------------------
Feature #1584: Append operator to concatenate arrays or strings in sub-scopes.
http://projects.reductivelabs.com/issues/show/1584

Author: masterzen
Status: Needs design decision
Priority: Normal
Assigned to: luke
Category: newfeature
Target version: 0.24.6
Complexity: Easy
Affected version: 0.24.5
Keywords: parser operator append array


I just finished a parser modification that allows to append stuff to defined 
variables in sub-scope (it still meet the puppet requirement that variables are 
write-once).

Here is an usage example:
$ssh_users = [ 'myself', 'someone' ]
...
class test {
 $ssh_users += ['someone_else']
 ...
}

In the test class, the $ssh_users array is ['myself','someone','someone_else'].

Please review and merge if it meets the necessary requirements.

The patch consists in 2 commits based on 0.24.x which are hosted in the 
feature/append-var branch in the masterzen/puppet github repository, or 
directly from:
http://github.com/masterzen/puppet/tree/feature%2Fappend-var



----------------------------------------
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