On 13/05/16 13:01, Julien Pivotto wrote:
Perhaps there's some middle ground, e.g. using alternatives to support multiple versions while trying to keep paths identical to existing packages? The SIG's packages couldn't then be installed alongside an EPEL package, but you might be able to install multiple versions from the SIG. It'd require extra work though.
You mean, like having:
- puppet RPM -> /usr/bin/puppet ; /etc/puppet
- puppet44 RPM -> /opt/xxx/bin/puppet44/puppet.conf ; /etc/../puppet44/puppet.conf
I mean having:
- puppet43 RPM -> /usr/bin/puppet43 - puppet44 RPM -> /usr/bin/puppet44
and using update-alternatives(8) or similar to symlink /usr/bin/puppet to puppet43 or 44, depending on the user's preference. Other packages such as JREs use this mechanism.
I'm not sure what you'd do about confdir/vardir in the example of Puppet.