Skip to content
Snippets Groups Projects
Commit a869f6b6 authored by Saga Norén Karlsson's avatar Saga Norén Karlsson
Browse files

Uncommenting migration config

parent 51ef2509
No related branches found
No related tags found
No related merge requests found
Pipeline #131802 failed
This commit is part of merge request !60. Comments created here will be created in the context of that merge request.
......@@ -169,15 +169,15 @@ class aim_control (
require => Vcsrepo['/var/www/skadereg'], # Ensure VCS repo is checked out first
}
# exec { 'artisan migrate':
# command => 'php artisan migrate --force -n',
# cwd => '/var/www/skadereg',
# path => [ '/opt/remi/php74/root/bin/' ],
# refreshonly => true,
# group => 'skadereg',
# user => 'apache',
# subscribe => [ Vcsrepo['/var/www/skadereg'], File[ '/var/www/skadereg' ], ],
# }
exec { 'artisan migrate':
command => 'php artisan migrate --force -n',
cwd => '/var/www/skadereg',
path => ['/opt/remi/php74/root/bin/'],
refreshonly => true,
group => 'skadereg',
user => 'apache',
subscribe => [Vcsrepo['/var/www/skadereg'], File[ '/var/www/skadereg' ],],
}
# cron { 'artisan schedule:run':
# minute => '*',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment