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

Concat 2.0 deprecation warnings #759

Closed
madAndroid opened this issue Feb 4, 2016 · 0 comments
Closed

Concat 2.0 deprecation warnings #759

madAndroid opened this issue Feb 4, 2016 · 0 comments

Comments

@madAndroid
Copy link

We're seeing these warnings when using the location resource:

Passing a value other than 'present' or 'absent' as the $ensure parameter to concat::fragment is deprecated.

This appears to be happening here: https://github.com/jfryman/puppet-nginx/blob/master/manifests/resource/location.pp#L378-L391

    concat::fragment { "${vhost_sanitized}-${priority}-${location_md5}":
      ensure  => $ensure_real,
      target  => $config_file,
      content => join([
        template('nginx/vhost/location_header.erb'),
        $content_real,
        template('nginx/vhost/location_footer.erb')
      ], ''),
      order   => $priority,
    }
@3flex 3flex changed the title Concat deprecation warnings Concat 2.0 deprecation warnings Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant