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

Remove rvalue declaration from v3 deprecation() function #694

Merged
merged 1 commit into from
Nov 28, 2016

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Nov 27, 2016

Without this, some uses of this function do not work in puppet3. e.g.

if $include_src != undef {
  deprecation('apt $include_src', "please use \$include => { 'src' => ${include_src} } instead")
}

causes

Function 'deprecation' must be the value of a statement

on puppet 3.8.7.

Without this, some uses of this function do not work in puppet3. e.g.

    if $include_src != undef {
      deprecation('apt $include_src', "please use \$include => { 'src' => ${include_src} } instead")
    }

causes

    Function 'deprecation' must be the value of a statement

on puppet 3.8.7.
@eputnam eputnam merged commit 85bdbcf into puppetlabs:master Nov 28, 2016
@DavidS DavidS deleted the fix-v3-deprecation-function-type branch November 28, 2016 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants