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

Merge branch 'update_init' into 'devel'

Uncommenting migration config

See merge request !60
parents 51ef2509 52410647
No related branches found
No related tags found
3 merge requests!67Test,!66Devel,!60Uncommenting migration config
Pipeline #131804 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