Displaying 3 results from an estimated 3 matches for "perlinstall".
2007 Jan 03
18
error "Stack level too deep" on ''exec[ "perl Makefile.PL" ] ?
...When I tried to do a puppet
run on a completely clean node it seemed to stall on the ''compilation''
part (I do an exec of ''perl Makefile.PL'' in the appropriate dir). When
I broke it off, the debug showed the following:
stack level too deep
err: /base/enam/eserver/perlinstall[everything]/Exec[makefile-everything]/returns:
change from notrun to 0 failed: stack level too deep
And then a number of failed steps due to unresolved dependencies. Is
this an error message from puppet or is the "stack level too deep"
thing originating from something else?
Thijs
2007 Jan 15
7
How to conditionally run defines?
...fine if I know it has
already run once before. I would think adding a unless clause would be
a elegant solution (and the other conditionals like onlyif that exist
elsewhere too).
So that I can call my defines with something like this:
installesite { "testaa":
require => [ perlinstall[ "everything" ], exec[
"fix-everything-sqldefs" ] ],
unless => "test -e /var/www/testaa/index.pl",
}
I don''t know if this would be easy to add to the puppet language, or
if it can easily be emulated with code in the define itself? I''m...
2007 Jan 15
1
Re: How to conditionally run defines? (and a question about updating... )
...a unless clause would be
> > a elegant solution (and the other conditionals like onlyif that exist
> > elsewhere too).
> >
> > So that I can call my defines with something like this:
> >
> > installesite { "testaa":
> > require => [ perlinstall[ "everything" ], exec[
> > "fix-everything-sqldefs" ] ],
> > unless => "test -e /var/www/testaa/index.pl",
> > }
> >
> > I don''t know if this would be easy to add to the puppet language, or
> > if it can easi...