Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Error: Failed to apply catalog: undefined local variable or method `resource' for Puppet::Type::Infoblox_dns_a::ProviderInfoblox_dns_a:Class Did you mean? resources Debug: Dynamically-bound se #9

Open
pmelse opened this issue Jul 26, 2018 · 0 comments

Comments

@pmelse
Copy link

pmelse commented Jul 26, 2018

Puppet 4.x
relevant bits of my host profile:
...
class { 'infoblox':
infoblox_username => 'someyser',
infoblox_password => 'somepassword',
infoblox_host => 'infoblox.somedomain.com',
}

infoblox_dns_a { 'name.somedomain.com':
ensure => present,
address => "1.1.1.1"
}
...

when running puppet agent:
Error: Failed to apply catalog: undefined local variable or method `resource' for Puppet::Type::Infoblox_dns_a::ProviderInfoblox_dns_a:Class
Did you mean? resources

I suspect this is related to puppet-infoblox/lib/puppet/provider/infoblox_dns_a/infoblox_dns_a.rb line 19, unless I'm using the module in an incorrect way?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant