Skip to content

prevent deprecation warning about the allow_virtual parameter #535

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

Merged
merged 1 commit into from
Oct 13, 2015
Merged

prevent deprecation warning about the allow_virtual parameter #535

merged 1 commit into from
Oct 13, 2015

Conversation

martinpfeifer
Copy link

#534 introduces the (re)appearance of the allow_virtual deprecation warning of packages resources with Puppet versions above 3.6 although one has

Package {
  allow_virtual => true,
}

in the site.pp.
This PR fixes this by adding the allow_virtual parameter explicitly to the dummy Package if the Puppet version is 3.6 or higher.

DavidS added a commit that referenced this pull request Oct 13, 2015
prevent deprecation warning about the allow_virtual parameter
@DavidS DavidS merged commit 4e62223 into puppetlabs:master Oct 13, 2015
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.

4 participants