Hey, I never knew there was a spec file distributed with Puppet. Thanks for the tip. What a time saver! -Tom
Thomas A. McGonagle t...@dataero.com Google Voice: 617-229-5185 On Tue, Jul 20, 2010 at 2:04 PM, Todd Zullinger <t...@pobox.com> wrote: > 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 > > -- 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.