Did you try ./install.rb -h ?

        --destdir[=OPTIONAL]         Installation prefix for all targets
                                     Default essentially /

that sounds like you want to at least specify that?

so if you specify something like:

./install.rb --destdir=/build --bindir=/usr/bin
--sitelibdir=/usr/lib/ruby/site_ruby/1.8

you would end up with a whole tree in /build of directories like:

/build/usr/bin/...
/build/usr/lib/ruby/site_ruby/1.8/...

Is that what you needed?

On Thu, Dec 4, 2008 at 11:25 AM, Jeff Leggett
<[EMAIL PROTECTED]> wrote:
>
> I am trying to package up facter and puppet into RPM's using maven.
> I need the install.rb to install first to a <BUILD_DIR>install/blah
> and run all its tests and such, then be built by maven's RPM package
> plugin to install after it's been made into an rpm into the blah
> subdirectory.  I am wondering if this will work without the
> aproporaite rub libs and all in the same place?  Anybody done any
> packaging of facter and puppet with maven (or even with buildr)?
>
> I did check the Install Guide and see no options there, nor in the
> comments of the install.rb itself.
> >
>



-- 
Nigel Kersten
Systems Administrator
Tech Lead - MacOps

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to