summaryrefslogtreecommitdiff
path: root/chef-utils
diff options
context:
space:
mode:
authorLance Albertson <lance@osuosl.org>2021-04-09 15:10:12 -0700
committerLance Albertson <lance@osuosl.org>2021-04-09 15:11:15 -0700
commita8efbe6306f2c50fbfa718de1b2c9b7cf9b76f7d (patch)
tree52cb2f07de4f0de8384be587ab8583152aececaf /chef-utils
parentdb1d60056f7ab64bf6c1cede96541309f483f58a (diff)
downloadchef-a8efbe6306f2c50fbfa718de1b2c9b7cf9b76f7d.tar.gz
Create ChefUtils::Dist::Workstation::DIR_SUFFIX dist constant
This allows community distributions the ability to set the directory suffix for where Workstation resides (aka /opt/chef-workstation). Signed-off-by: Lance Albertson <lance@osuosl.org>
Diffstat (limited to 'chef-utils')
-rw-r--r--chef-utils/lib/chef-utils/dist.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/chef-utils/lib/chef-utils/dist.rb b/chef-utils/lib/chef-utils/dist.rb
index c4fe72960d..1819aefb0b 100644
--- a/chef-utils/lib/chef-utils/dist.rb
+++ b/chef-utils/lib/chef-utils/dist.rb
@@ -87,6 +87,11 @@ module ChefUtils
EXEC = "chef-solo"
end
+ class Workstation
+ # The suffix for Chef Workstion's /opt/chef-workstation or C:\\opscode\chef-workstation
+ DIR_SUFFIX = "chef-workstation"
+ end
+
class Zero
# chef-zero executable
PRODUCT = "Chef Infra Zero"