Hi, > Puppet::Provider::Package defines the prefetch class method. This is > called at the beginning of the puppet run to find matches between existing > packages and the one you described in your manifest. Prefetch calls > instances which should return an array of provider instances. One > provider instance for each package with the appropiate property_hash > {ensure => "whatever-version"}. If you dont know how to implement it try > with returning an empty array like hpux.rb does.
Thanks. I still have this problem that I can't run puppet as a daemon and install packages as any other user. Trying to sudo inside the custom provider fails if puppet is running as a daemon. Is there no way around that? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.