Douglas Garstang wrote: > I just grabbed puppet 2.6, and I'm wondering if there's a way to > install it to an alternative root location. The docs at > http://docs.puppetlabs.com/guides/installation.html talk about how to > set an alternate binary path etc, but nothing about specifying an > alternative root location for all of it. I know this is probably a > ruby question. > > I want to be able to wrap this in an rpmbuild process, which means > specifying a different root install location, you know, for those that > have to install this on a production system.
Why not take a look at the existing spec file included in the puppet package, since we do just that? The parameter you're looking for is --destdir. The spec I am referring to is conf/redhat/puppet.spec. Or, for one that is updated for 2.6.0 (very minor changes versus what is in the tarball), see: http://tmz.fedorapeople.org/repo/puppet/epel/5/SRPMS/puppet-2.6.0-0.7.el5.src.rpm -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Start every day with a smile and get it over with. -- W.C. Fields
pgpnK2XJXTUnQ.pgp
Description: PGP signature