I want to add successive crons via puppet, first one to set as each 10 minutes, and the 2nd one to run in Sunday 7:00PM. The first cron in puppet is working properly, but the 2nd one shows the below error: "Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: Cron[notifyinactivetargetweekly] { require => File[...notifyinactivetargetweekly.sh] }, because File[...notifyinactivetargetweekly.sh] doesn't seem to be in the catalog Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run" Below are the manifest code. cron { 'firstsynccron': command => "${phpapp::DocRootDir}/firstcronsync.sh ${scmdemophp::Environment} ${phpapp::DocRootDir}", require => File["${phpapp::DocRootDir}/firstcronsync.sh"], minute => '*/10', environment=>["COMPOSER_HOME=${phpapp::DocRootDir}", "SYMFONY_ENV=${phpapp::Envi...
A knowledge sharing blog with discussion on current technology trends