-
Notifications
You must be signed in to change notification settings - Fork 113
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 Server Error: no parameter named 'provider' #255
Comments
strange see https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/manifests/dbactions.pp#L45 . and it has a default https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/manifests/dbactions.pp#L31 . Do make this null or empty in your config somewhere. I think you can use debug and trace to find out. |
Hi thanks for the reply. No it complains that the param is included in the call, as it seems to think db_control should not be given a 'provider' parameter. In fact if I comment out https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/manifests/dbactions.pp#L45 it works?? |
strange they are there https://github.com/biemond/biemond-oradb/tree/puppet4_3_data/lib/puppet/provider/db_control and it should be required https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/lib/puppet/type/db_control.rb and a standard property of a custom type. I guess it won't work anymore. let me do some research on it. What is the puppet versions you use. |
Hi well we are actually using quite an old version, which has not changed in any way since our servers all started failing. We have 4.10.12 on all agents and 4.7.0 on the master. |
Intrestingly I noticed that on the first run we get this error
and then the following (same as above) on all subsequent runs
|
ah, ok that is the main issue here. So in the early days we had to put the modules on the primary module location, restart master, do some dummy puppet runs on the master so it detects everything. After that the agents picks up all the types and providers. |
ah-ha so that fixed it! I changed the /etc/puppetlabs/code/modules directory to a symlink to our modules directory in our 'development' environment, rebooted and ran puppet on the master. Can I ask what you mean by early days? I guess you meant our version of Puppet. Would this work on 4.10? |
nice, I don't know about puppet 5 or 6 but with puppet 3 & 4 I know this puppet master issue . |
Great. Thanks for all your help! |
Since Saturday evening all our nodes which use this module now fail with the following error:
2019-02-19 16:17:56,240 ERROR [qtp1473142752-67] [puppetserver] Puppet no parameter named 'provider' at /etc/puppetlabs/code/environments/development/modules/oradb/manifests/dbactions.pp:43 on Db_control[instance control database_oracletest] at /etc/puppetlabs/code/environments/development/modules/oradb/manifests/dbactions.pp:43 on node oracletest.sys.XXXX.co.uk 2019-02-19 16:17:56,241 ERROR [qtp1473142752-67] [puppetserver] Puppet Server Error: no parameter named 'provider' at /etc/puppetlabs/code/environments/development/modules/oradb/manifests/dbactions.pp:43 on Db_control[instance control database_oracletest] at /etc/puppetlabs/code/environments/development/modules/oradb/manifests/dbactions.pp:43 on node oracletest.sys.XXXX.co.uk
We use a master - agent configuration and at first thought it might be an issue with our master server getting corrupted somehow.
However I have since created a new isolated master server and a new node to configure but I get the same error.
Do you have any idea as to why puppet see's the provider option as a parameter which should be declared in the type?
What is also odd is other puppet modules we use, that have various providers such as the vcsrepo modules functions without issue when specifying a provider parameter.
The text was updated successfully, but these errors were encountered: