Put /usr/local/bin at front of path
If things get installed by something other than the system package manager they often end up in /usr/local/bin and they often shadow things that the system package manager may have installed. By putting this at the end of the path we don't get the benefit of that shadowing and instead get whatever the system package manager installed. This is particularly unhelpful when attempting to use an npm updated by npm itself which ends up in the local dir. Change-Id: Ifb58c98162f0064a2ae70868921eea507306ad7e
This commit is contained in:
parent
88d20d9a0f
commit
411f392c14
@ -23,7 +23,7 @@ class etherpad_lite (
|
||||
|
||||
# where the modules are, needed to easily install modules later
|
||||
$modules_dir = "${base_install_dir}/etherpad-lite/node_modules"
|
||||
$path = "/usr/bin:/bin:/usr/local/bin:${base_install_dir}/etherpad-lite"
|
||||
$path = "/usr/local/bin:/usr/bin:/bin:${base_install_dir}/etherpad-lite"
|
||||
|
||||
user { $ep_user:
|
||||
shell => '/usr/sbin/nologin',
|
||||
|
Loading…
x
Reference in New Issue
Block a user