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

Deploying environments fails with recent r10k versions #94

Open
mattock opened this issue May 30, 2019 · 0 comments
Open

Deploying environments fails with recent r10k versions #94

mattock opened this issue May 30, 2019 · 0 comments

Comments

@mattock
Copy link
Member

mattock commented May 30, 2019

Latest r10k does not seem to work properly in our context:

root@puppet:~# r10k deploy environment production -vp -c /etc/puppetlabs/r10k/r10k.yaml

r10k: Runtime error: #<NoMethodError: undefined method `[]=' for nil:NilClass> 

This is with r10k version 3.2.0. I suspect that the new version cannot parse the old-format config file, r10k.yaml, and hence fails with this very unhelpful error message.

The workaround is to downgrade to r10k 2.6.5:

/opt/puppetlabs/puppet/bin/gem uninstall r10k
/opt/puppetlabs/puppet/bin/gem install r10k -v 2.6.5
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