summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2016-11-14 18:10:24 -0800
committerClark Boylan <clark.boylan@gmail.com>2016-11-14 18:46:21 -0800
commit411f392c147fa196d87b920c1e9bf37f1d1a1dd7 (patch)
treeb79c181c54261b22dec03a72ea882408e94224b7
parent88d20d9a0f3ef11f123c1aa27a2963ac4f5fc59c (diff)
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
Notes
Notes (review): Code-Review+2: Jeremy Stanley <fungi@yuggoth.org> Workflow+1: Jeremy Stanley <fungi@yuggoth.org> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 05 Jan 2017 22:14:47 +0000 Reviewed-on: https://review.openstack.org/397478 Project: openstack-infra/puppet-ethercalc Branch: refs/heads/master
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 88a69f6..0739e77 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -23,7 +23,7 @@ class etherpad_lite (
23 23
24 # where the modules are, needed to easily install modules later 24 # where the modules are, needed to easily install modules later
25 $modules_dir = "${base_install_dir}/etherpad-lite/node_modules" 25 $modules_dir = "${base_install_dir}/etherpad-lite/node_modules"
26 $path = "/usr/bin:/bin:/usr/local/bin:${base_install_dir}/etherpad-lite" 26 $path = "/usr/local/bin:/usr/bin:/bin:${base_install_dir}/etherpad-lite"
27 27
28 user { $ep_user: 28 user { $ep_user:
29 shell => '/usr/sbin/nologin', 29 shell => '/usr/sbin/nologin',