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

apt pin error #333

Closed
fnoop opened this issue Nov 12, 2017 · 0 comments
Closed

apt pin error #333

fnoop opened this issue Nov 12, 2017 · 0 comments
Labels
bug Something isn't working

Comments

@fnoop
Copy link
Contributor

fnoop commented Nov 12, 2017

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.2.0
  • Ruby: 2.3.1p112
  • Distribution: Ubuntu 16.04
  • Module version: 4.0.0

How to reproduce (e.g Puppet code you use)

class { 'nodejs':
repo_url_suffix => '8.x',
}

What are you seeing

Error: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[nodesource]: parameter 'pin' expects a value of type Undef, Hash, Numeric, or String, got Boolean at /srv/maverick/software/maverick/manifests/puppet-modules/nodejs/manifests/repo/nodesource/apt.pp:14 on node maverick-ubuntuvm.siliconalchemy.net

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Nov 12, 2017
kizzie pushed a commit to kizzie/puppet-nodejs that referenced this issue Dec 17, 2017
puppetlabs/puppetlabs-apt#711 introduced data
types in the apt module, and false is no longer a valid value for the
apt::source $pin parameter

Fixes voxpupuli#333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants