Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array/Hash mutating operations deprecated #625

Merged
merged 1 commit into from
Feb 18, 2014

Conversation

domcleal
Copy link
Contributor

Puppet 3.5.0 will deprecate mutating arrays and hashes, as found here (from the Apache 2.4 merge): https://github.com/puppetlabs/puppetlabs-apache/blob/e8348ff5/manifests/vhost.pp#L419-L424

This leads to warnings while running Puppet:

The use of mutating operations on Array/Hash is deprecated at /usr/share/foreman-installer/modules/apache/manifests/vhost.pp:422. See http://links.puppetlabs.com/puppet-mutation-deprecation

More info: https://tickets.puppetlabs.com/browse/PUP-864

@domcleal
Copy link
Contributor Author

Updated with the merge() solution I suggested in PUP-864.

igalic added a commit that referenced this pull request Feb 18, 2014
Array/Hash mutating operations deprecated
@igalic igalic merged commit 18c3b85 into puppetlabs:master Feb 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants