Puppet: System Administration Automated

Support

Ticket #587 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

The crontab provider breaks when ENV[USER] is not set

Reported by: luke Assigned to: luke
Priority: high Milestone: elmo
Component: library Version:
Severity: major Keywords: cron
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Easy

Description

I thought this environment variable was guaranteed by the shell, but it is at least lacking when running under cron.daily and is at least possibly lacking other times. When this is unset, the Parsed File? type breaks, because it requires a default target in order to function.

Change History

04/09/07 13:10:39 changed by tim

Should this default to a user or simply refuse to run when no user is set or what?

04/20/07 18:29:48 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [2403].