On Tue, Nov 29, 2011 at 8:06 PM, Brian Warsing <daygloje...@gmail.com> wrote: > Hi, > > I built a primitive type/provider for computergroups on Mac OS X. To > implement the standard provider#exists? method, I tried to grab a > plist from dscl and compare it with the resource definition. I didn't > get very far... > > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not autoload computergroup: Could not autoload /etc/ > puppet/modules/mymodule/lib/puppet/provider/computergroup/ > computergroup.rb: no such file to load -- osx/cocoa at /etc/puppet/ > modules/mymodule/manifests/policy/mcx.pp:20 on node foo.bar.com > > I am guessing this to be expected, but I was hoping somebody might be > able to explain why?
I think it's just bubbling up ruby errors from the type/provider. Do you have require 'osx/cocoa' in your type/provider code? Check and see if you can do this in irb on the system compiling the manifest. Thanks, Nan -- 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 puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.