Could you cheat and create /opt2/puppetlabs and a symlink
from /opt/puppetlabs -> /opt2/puppetlabs before installation?

Otherwise, you can likely unpack the rpm, and futz with it,
but I could imagine that /opt/puppetlabs is buried in a
binary or two and thus awkward to change.

Hope that helps - cheers

On Wed, 2020/04/22 06:21:51PM -0400, Trevor Vaughan <[email protected]> 
wrote:
| Ah, you need the whole thing to be relocatable!
| 
| On Wed, Apr 22, 2020 at 3:54 PM hai wu <[email protected]> wrote:
| > Thank you! Unfortunately that won't work for me. The issue I have is
| > due to /opt is some NFS read-only mounts. I am wondering about how to
| > get a new RPM created for puppet-agent6, so that it could be installed
| > on some folder like /opt2 instead. Right now I could not install this
| > rpm. The other workaround is to copy whole puppet folder to that NFS
| > mount. Just thinking that modifying /opt if we have src rpm would be
| > much easier..

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20200422234306.GA10968%40syonex.com.

Reply via email to