Puppet: System Administration Automated

Support

Ticket #404 (closed defect: worksforme)

Opened 2 years ago

Last modified 1 year ago

Error "Stack level too deep" on Exec of 'perl Makefile.PL'

Reported by: Thijs Assigned to: luke
Priority: normal Milestone:
Component: library Version: 0.20.1
Severity: normal Keywords: stack exec
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

A define downloads a tar.gz file, extracts it, substitutes a custom Makefile.PL into the extract dir and tries to do a 'perl Makefile.PL', which seems to hang. On a ctrl-c I get a "stack level too deep" error. The code where it hangs looks like this:

   exec { "makefile-$name":
       command => "cd $( ls -A -d $name*/ ) && perl Makefile.PL",
       path    => "/usr/bin:/bin",
       cwd     => $dest,
       require => [ package[ "perl" ], exec[ "untar-$name" ] ]
   }

Full code for the define attached.

Attachments

perlinstall.pp (1.8 kB) - added by Thijs on 01/04/07 02:08:06.

Change History

01/04/07 02:08:06 changed by Thijs

  • attachment perlinstall.pp added.

01/05/07 18:24:47 changed by luke

  • milestone changed from minor to major.

I've given up on getting this fixed before the next release.

04/04/07 00:36:23 changed by luke

  • milestone changed from major to unplanned.

04/04/07 01:21:31 changed by

  • milestone deleted.

Milestone unplanned deleted

04/05/07 22:18:55 changed by luke

  • status changed from new to closed.
  • specification set to Unnecessary.
  • patch set to None.
  • complexity set to Unknown.
  • approval set to Unnecessary.
  • resolution set to worksforme.
  • compatibility set to Unknown.
  • stage set to Unreviewed.

I never could reproduce this. Hopefully it's fixed in all of the recent changes to 'execute'.