[Pkg-puppet-devel] Bug#500848: comparison of String with 0 failed

Matthew Palmer mpalmer at debian.org
Thu Oct 2 00:22:46 UTC 2008


On Thu, Oct 02, 2008 at 09:58:23AM +1000, Jayen Ashar wrote:
> Package: puppet
> Version: 0.24.4-8~bpo40+1
> Severity: minor
> 
> my puppetmaster manifest has:
>   tidy {
>     "/c/z3208682/test_tidy":
>     matches => "README.desktop",
>     recurse => inf,
>     require => [ File["/etc/kde-profile"], File["/etc/kderc"]];
>   }
> 
> my system has:
> /c/z3208682/test_tidy/
> /c/z3208682/test_tidy/z3208682
> /c/z3208682/test_tidy/z3208682/Desktop
> /c/z3208682/test_tidy/z3208682/Desktop/README.desktop
> 
> the puppet client gets the error:
> Thu Oct 02 04:52:36 +1000 2008 //Node[default]/staff/staff_readme/Tidy[/c/z3208682/test_tidy] (err): Failed to generate additional resources during transaction: comparison of String with 0 failed

If I remember correctly, recurse => inf doesn't work (this goes back to at
least a 0.1x release) and you need to use recurse => true instead.  Try
that, and if it works then at least everyone knows the source of the
problem.  <grin>

- Matt





More information about the Pkg-puppet-devel mailing list