Package: puppet Version: 5.5.22-2 Followup-For: Bug #984603 X-Debbugs-Cc: kie...@koumbit.org
Dear Maintainer, this issue also affects the puppet package. For example, it can be reproduced using the following command: $ puppet apply -e '"42".scanf("%i") |$x| { notify {"x": message => $x,} }' Error: Could not run: cannot load such file -- scanf Installing ruby-scanf solves the issue. $ apt install ruby-scanf ... $ puppet apply -e '"42".scanf("%i") |$x| { notify {"x": message => $x,} }' Notice: Compiled catalog for pc-bullseye.test in environment production in 0.02 seconds Notice: 42 Notice: /Stage[main]/Main/Notify[x]/message: defined 'message' as 42 Notice: Applied catalog in 0.01 seconds Considering that scanf is a core puppet DSL function, I would like to propose that ruby-scanf be added as a dependency of the puppet package. The issue persists in 5.5.22-4 (unstable, at the time of this writing). I expect but have not confirmed that the version in experimental does not have this issue. This issue is similar to the upstream issue: https://tickets.puppetlabs.com/browse/PUP-10797 thanks, kienan -- System Information: Debian Release: 11.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-14-amd64 (SMP w/2 CPU threads) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8), LANGUAGE=en_CA.UTF-8 Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages puppet depends on: ii adduser 3.118 ii facter 3.14.12-1+b2 ii hiera 3.2.0-2.1 ii init-system-helpers 1.60 ii lsb-base 11.1.0 ii ruby 1:2.7+2 ii ruby-augeas 1:0.5.0-3+b8 ii ruby-deep-merge 1.1.1-1 ii ruby-shadow 2.5.0-1+b4 Versions of packages puppet recommends: ii debconf-utils 1.5.77 ii lsb-release 11.1.0 ii ruby-selinux 3.1-3 Versions of packages puppet suggests: pn ruby-hocon <none> pn ruby-rrd <none> -- Configuration Files: /etc/puppet/auth.conf changed [not included] /etc/puppet/puppet.conf changed [not included] -- no debconf information