This commit is contained in:
Antonio J. Delgado 2023-11-27 19:26:41 +02:00
parent 917fb37dcf
commit bba40ab64f

View file

@ -207,6 +207,7 @@ class mastodon (
} }
exec { 'bundle_install': exec { 'bundle_install':
command => 'bundle install -j$(getconf _NPROCESSORS_ONLN)', command => 'bundle install -j$(getconf _NPROCESSORS_ONLN)',
path => '/usr/sbin:/usr/bin:/sbin:/bin',
user => 'mastodon', user => 'mastodon',
cwd => "${mastodon_home}/live", cwd => "${mastodon_home}/live",
# creates => "${mastodon_home}/.rbenv/libexec/rbenv-realpath.dylib", # creates => "${mastodon_home}/.rbenv/libexec/rbenv-realpath.dylib",
@ -214,6 +215,7 @@ class mastodon (
} }
exec { 'yarn_install': exec { 'yarn_install':
command => 'yarn install --pure-lockfile', command => 'yarn install --pure-lockfile',
path => '/usr/sbin:/usr/bin:/sbin:/bin',
user => 'mastodon', user => 'mastodon',
cwd => "${mastodon_home}/live", cwd => "${mastodon_home}/live",
# creates => "${mastodon_home}/.rbenv/libexec/rbenv-realpath.dylib", # creates => "${mastodon_home}/.rbenv/libexec/rbenv-realpath.dylib",