From dbcaf34f226ee7b3ea59a153517d0b5fa78de809 Mon Sep 17 00:00:00 2001 From: Sebastian Marcet Date: Sat, 12 Aug 2017 01:29:09 -0300 Subject: [PATCH] Install Laravel schedule setup cron job to install laravel schedule. Change-Id: Icfc510080b62a8e5fe51a27ab1628d4a8840d05e --- manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 231ce71..d57941a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -474,4 +474,11 @@ class openstackid ( create_resources(sysctl::value,$my_sysctl_settings,$my_sysctl_defaults) + cron { 'InstallLaravelSchedule': + ensure => 'present', + command => 'php /srv/openstackid/w/artisan schedule:run >> /dev/null 2>&1', + user => 'www-data', + minute => '*', + } + }