Sven Mueller schrieb:
> I did write a preliminary type, but it doesn't seem to work at all (see
> below). I put the attached file in
> /etc/puppet/modules/puppet/type/cobbler_repo.rb as per
> http://reductivelabs.com/trac/puppet/wiki/PluginsInModules, with
> effective puppetmasterd configuration containing:
> modulepath = /etc/puppet/modules:/usr/share/puppet/modules
> 
> But still I get:
> 
> err: Could not retrieve catalog: Could not find resource type
> cobbler_repo at /etc/puppet/manifests/classes/cobbler.pp:171 on node
> op-inst01.wirecard.sys

Forget about that. I forgot to enable pluginsync.

Anyway, I now get:

warning: Configuration could not be instantiated: Class cobbler_repo
already has a property named ensure

If I remove the newproperty(:ensure) block, I get:

err: //Node[op-inst01.wirecard.sys]/cobbler/Cobbler_repo[CentOS5]:
Failed to retrieve current state of resource: No ability to determine if
cobbler_repo exists

instead. Now, how do I add that ability (plus the "insync" meaning of
:ensure)?

kind regards,
Sven



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to