Skip to content
Snippets Groups Projects
Commit 52410647 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
3 merge requests!67Test,!66Devel,!60Uncommenting migration config
Pipeline #131803 passed
......@@ -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