-
Notifications
You must be signed in to change notification settings - Fork 103
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
Puppet 4: Error: Failed to apply catalog: undefined method `[]' for nil:NilClass #100
Comments
Hi @chad-upton are you able to provide any other information on where this might be occurring? |
It was the only module being installed, not sure which method it was happening on. I ran puppet with -vd and it reported the same. I actually went another way in doing what I needed and ended up not using this module. |
I'm getting this as well. Debug gives this just before. Debug: Execinstall_setuptools: Executing check 'which easy_install' I'm using PE 2017.3.2, on CentOS 6.9, and I am pulling supervisord directly from github. |
Ok, I think I figured it out. The version of pip that easy_install was installing, is broken. Once I installed the python-pip package via yum, it moved on past that point. I've set install_pip to false and I'm handling that install elsewhere. |
@damonconway I realize this was a while ago, but could you articulate this fix in any more detail? Did you edit the .pp files to remove the easy_install calls or just install pip via SSH and it skiped them on it's own? |
I left the company where I was working on that code later that year so I can't go look. However, I believe I added some code to one of my pp files that made sure pip was installed via yum. That bypassed the check that was failing. |
Cloned from Master
Running on a Vagrant CentOS 6.8 box.
Puppet 4 masterless.
Code
Error
The text was updated successfully, but these errors were encountered: