Hello I need some help with a problem I cant figure out. I tried to look for the same problem in the puppet forums but I couldn't find anything. I have created a custom Type and a custom Provider but I keep getting the same error not matter what I do. So any help will very appreciated.
My Type is called 'servicemanager'
My Provider is called 'hostmanager'
Please see attachment for these files. And my manifest file looks like:
servicemanager{
"some_name":
artifact => "some_name",
action => stopped,
release => $releases_file,
provider => hostmanager;
}
But I keep getting the following error message:
err: /Stage[main]/some_name/Servicemanager[some_name]: Could not evaluate:
No ability to determine if servicemanager exists
OR
err: Could not run Puppet configuration client: No ability to determine if
servicemanager exists
I even tried adding a def exists? function in hostmanager.rb and that didnt
help.
BTW.. I have "pluginsync = true" on both client and the master in
puppet.conf. Also
my Type "servicemanager.rb" is in "
/etc/puppet/modules/custom/lib/puppet/type",
and my Provider "hostmanager.rb" is in "
/etc/puppet/modules/custom/lib/puppet/provider/servicemanager"
Thanks
Umair
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
hostmanager.rb
Description: Binary data
servicemanager.rb
Description: Binary data
