[Pkg-puppet-devel] Bug#781231: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Unsupported osfamily (Debian) or lsbdistid () at /usr/share/puppet/modules/apt/manifests/params.pp:39

Christoph Berg christoph.berg at credativ.de
Thu Mar 26 09:43:13 UTC 2015


Package: puppet-module-puppetlabs-apt
Version: 1.4.2-1
Severity: serious

Hi,

The Apt module seems to require the presence of the $lsbdistid fact,
which is only available when lsb-release is installed. Neither
puppet-module-puppetlabs-apt, puppet, nor facter have a Dependency (or
any weaker relation) on that.

Please fix puppet-module-puppetlabs-apt to handle the absence of this
fact gracefully. (Note that adding a dependency to
puppet-module-puppetlabs-apt does not help as the fact is required on
clients, and also adding dependencies to puppet or facter in jessie
will not fix the problem on wheezy clients.)

$ sudo puppet agent -t
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Unsupported osfamily (Debian) or lsbdistid () at /usr/share/puppet/modules/apt/manifests/params.pp:39 on node candela.oftc.net
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

(I cannot even use puppet to install lsb-release because the catalog
run is skipped in total.)

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20150326/a9698859/attachment-0001.sig>


More information about the Pkg-puppet-devel mailing list