Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit ee0a33a

Browse files
committed
fixup! Set home path to 3.x default when it exists
1 parent 14370fa commit ee0a33a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

attributes/default.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
default['stash']['version'] = '4.1.0'
44
default['stash']['product'] = Chef::Version.new(node['stash']['version']) >= Chef::Version.new('4.0.0') ? 'bitbucket' : 'stash'
55

6-
if Dir.exists?("/var/atlassian/application-data/stash")
7-
default['stash']['home_path'] = "/var/atlassian/application-data/stash"
6+
if Dir.exists?('/var/atlassian/application-data/stash')
7+
default['stash']['home_path'] = '/var/atlassian/application-data/stash'
88
else
99
default['stash']['home_path'] = "/var/atlassian/application-data/#{node['stash']['product']}"
1010
end

0 commit comments

Comments
 (0)