FAQ
Hello,

Now that support for += has been removed in 3.7/4.0
(http://links.puppetlabs.com/remove-plus-equals), is there another way
to implement "appending assignment" described in
https://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#appending-assignment
with the future parser?

      $ssh_users = ['myself', 'someone']

      class test {
        $ssh_users += ['someone_else']
      }


Thanks,

Vlad

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/54244BAA.5070209%40icecube.wisc.edu.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedSep 25, '14 at 5:06p
activeSep 25, '14 at 5:27p
posts2
users2
websitepuppetlabs.com

2 users in discussion

Dan White: 1 post Vladimir Brik: 1 post

People

Translate

site design / logo © 2022 Grokbase