From bba40ab64fda8a148c8d1e2461e55b4c6478df8f Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 27 Nov 2023 19:26:41 +0200 Subject: [PATCH] add path --- manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 21592bc..bbe680b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -207,6 +207,7 @@ class mastodon ( } exec { 'bundle_install': command => 'bundle install -j$(getconf _NPROCESSORS_ONLN)', + path => '/usr/sbin:/usr/bin:/sbin:/bin', user => 'mastodon', cwd => "${mastodon_home}/live", # creates => "${mastodon_home}/.rbenv/libexec/rbenv-realpath.dylib", @@ -214,6 +215,7 @@ class mastodon ( } exec { 'yarn_install': command => 'yarn install --pure-lockfile', + path => '/usr/sbin:/usr/bin:/sbin:/bin', user => 'mastodon', cwd => "${mastodon_home}/live", # creates => "${mastodon_home}/.rbenv/libexec/rbenv-realpath.dylib",