[Pkg-puppet-devel] Bug#774643: Bug#774643: fix introduces problems for Foreman

Apollon Oikonomopoulos apoikos at debian.org
Wed Apr 8 16:26:03 UTC 2015


Hi Michael,

On 17:52 Wed 08 Apr     , Michael Moll wrote:
> Hello,
> 
> while I've been packaging Foreman (http://theforeman.org/) for
> Debian/jessie I encountered problems when having
> ruby-activerecord-deprecated-finders installed.

The mere presence of ruby-activerecord-deprecated-finders on the system 
should not impact foreman. What kind of problems did you encounter?

> At the end I had to add a Conflicts line, so at the moment Foreman would
> only work with Puppetlabs packages if installed on the same host as the
> Puppet master.

You could add a Conflicts: ruby-activerecord-deprecated-finders, which 
would still allow puppet from Debian proper to be installed (since 
ruby-ar-d-f is only a Recommends). Still, conflicting with other 
packages should be avoided altogether if there's a better way to handle 
the issue. Note that even if we do turn this into a Suggests, you should 
still make sure that either foreman is compatible with the gem, or the 
gem is not installed at all (it may have been installed manually).

> It should also be noted that (AFAIK) storeconfig was deprecated in
> Puppet 3 and it's use strongly discouraged.

This has been previously discussed. In short, it's no pretty situation, 
but we either have to support this, or break the upgrade path for many 
setups and ask that people install activerecord 3 from rubygems.org on 
their systems. If we can do the former without causing too much trouble, 
IMHO we should do it.

> I do see the point that
> PuppetDB is not yet packaged as debian.org package, but Recommending a
> decreated package is introducing also some problems.

The package itself is not deprecated by any means. It's part of the 
Debian archive and there's no reason to not Recommend it if it's needed.

> This should IMHO be shifted to a Suggests (and from the Foreman POV 
> I'd like to see that in
> the first jessie release as Foreman would have to depend on Puppetlabs
> packages otherwise).

Yes, this could be done. The case for Recommends was that installing 
just another gem to the system wouldn't harm. But if it causes that much 
trouble, we could move it to a Suggests and rely on a NEWS entry to have 
people install it by hand if needed.

Regards,
Apollon



More information about the Pkg-puppet-devel mailing list