From: Tom Hughes Date: Sun, 16 Sep 2018 10:56:19 +0000 (+0100) Subject: Allow taginfo to set PASSENGER_INSTANCE_REGISTRY_DIR X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/b5aa5eb91fd064ea70319ddd81d3c86f93cb51a2?hp=cdae7c30dd10b40ac74211d8193b3f235007466f Allow taginfo to set PASSENGER_INSTANCE_REGISTRY_DIR --- diff --git a/cookbooks/taginfo/templates/default/sudoers.erb b/cookbooks/taginfo/templates/default/sudoers.erb index 907d23453..620ebe4d9 100644 --- a/cookbooks/taginfo/templates/default/sudoers.erb +++ b/cookbooks/taginfo/templates/default/sudoers.erb @@ -1,4 +1,7 @@ # DO NOT EDIT - This file is being maintained by Chef +# Allow taginfo to set PASSENGER_INSTANCE_REGISTRY_DIR +Defaults:taginfo env_keep=PASSENGER_INSTANCE_REGISTRY_DIR + # Allow taginfo to restart the web app taginfo ALL=(root) NOPASSWD: /usr/bin/passenger-config restart-app *