This was re-setting MAILTO=root, which is already set at the top level,
and it was also setting PATH to only a subset of what it was before
(dropped the sbins).
concat::fragment { 'puppet-crontab--static-mirror':
target => '/etc/cron.d/puppet-crontab',
content => @("EOF"),
concat::fragment { 'puppet-crontab--static-mirror':
target => '/etc/cron.d/puppet-crontab',
content => @("EOF"),
- MAILTO=root
- PATH=/usr/local/bin:/usr/bin:/bin
@reboot ${staticsync::user} sleep 60; chronic static-mirror-run-all
| EOF
}
@reboot ${staticsync::user} sleep 60; chronic static-mirror-run-all
| EOF
}