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

Undefined method "provider" on Centos 6.5 #2

Closed
antevens opened this issue Oct 24, 2014 · 2 comments
Closed

Undefined method "provider" on Centos 6.5 #2

antevens opened this issue Oct 24, 2014 · 2 comments

Comments

@antevens
Copy link

==> sdecentos65: Error: Could not autoload puppet/provider/kernel_parameter/grub2: undefined method provider' for nil:NilClass ==> sdecentos65: Error: Could not autoload puppet/type/kernel_parameter: Could not autoload puppet/provider/kernel_parameter/grub2: undefined methodprovider' for nil:NilClass
==> sdecentos65: Error: Could not autoload puppet/type/kernel_parameter: Could not autoload puppet/provider/kernel_parameter/grub2: undefined method provider' for nil:NilClass on node sdecentos65.securitycompass.com ==> sdecentos65: Error: Could not autoload puppet/type/kernel_parameter: Could not autoload puppet/provider/kernel_parameter/grub2: undefined methodprovider' for nil:NilClass on node sdecentos65.securitycompass.com

[vagrant@sdecentos65 ~]$ uname -a
Linux sdecentos65 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[vagrant@sdecentos65 ~]$ cat /etc/redhat-release
CentOS release 6.5 (Final)
[vagrant@sdecentos65 ~]$ rpm -q ruby-augeas
ruby-augeas-0.4.1-3.el6.x86_64
[vagrant@sdecentos65 ~]$ rpm -q puppet
puppet-3.7.2-1.el6.noarch

@raphink
Copy link
Member

raphink commented Oct 24, 2014

Thank you for your report.

Which versions of augeasproviders_core and augeasproviders_grub are you
using?

Are you using Puppet agent or apply?
Le 24 oct. 2014 22:18, "Jarl Stefansson" notifications@github.com a écrit
:

==> sdecentos65: Error: Could not autoload
puppet/provider/kernel_parameter/grub2: undefined method provider' for
nil:NilClass
==> sdecentos65: Error: Could not autoload puppet/type/kernel_parameter:
Could not autoload puppet/provider/kernel_parameter/grub2: undefined methodprovider'
for nil:NilClass
==> sdecentos65: Error: Could not autoload puppet/type/kernel_parameter:
Could not autoload puppet/provider/kernel_parameter/grub2: undefined method provider'
for nil:NilClass on node sdecentos65.securitycompass.com
==> sdecentos65: Error: Could not autoload puppet/type/kernel_parameter:
Could not autoload puppet/provider/kernel_parameter/grub2: undefined methodprovider'
for nil:NilClass on node sdecentos65.securitycompass.com

[vagrant@sdecentos65 ~]$ uname -a
Linux sdecentos65 2.6.32-431.el6.x86_64 #1
#1 SMP Fri
Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[vagrant@sdecentos65 ~]$ cat /etc/redhat-release
CentOS release 6.5 (Final)
[vagrant@sdecentos65 ~]$ rpm -q ruby-augeas
ruby-augeas-0.4.1-3.el6.x86_64
[vagrant@sdecentos65 ~]$ rpm -q puppet
puppet-3.7.2-1.el6.noarch


Reply to this email directly or view it on GitHub
#2.

@antevens
Copy link
Author

My bad, I was pulling both from git using r10k and augeasprovider_core needs should be augeasprovider when it's installed under puppet modules.

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

2 participants