Hi there,

I'm trying to use puppet to install internally-developed application RPMs 
via a private RPM database.  This is mostly because the runs have to be 
done as non-root.  The default RPM package provider doesn't allow any way 
to pass in a value for --dbpath, but Googling a while back someone 
suggested extending the rpm provider to accept extra args via the 'vendor' 
parameter.

This works to a degree (installs do indeed contain a --dbpath argument), 
but I can't get it to work quite right (errors of package already 
installed, where it should just skip already-installed packages using *
latest*). 

Looking a the code, I suspect this is because the first processing the 
package provider seems to do is build a list of all installed packages.  
The command logged does not contain the --dbpath, and so the system db is 
used.  My guess is this causes susbsequent install commands to be incorrect.

Has anyone had any success getting Puppet to use alternative RPM databases?

Thanks,
Dave

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to