This repository was archived by the owner on Jan 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ install_type | Stash install type - "standalone" only for now | String | standal
5454url_base | URL base for Stash install | String | http://www.atlassian.com/software/stash/downloads/binary/atlassian-stash
5555url | URL for Stash install | String | auto-detected (see attributes/default.rb)
5656user | user to run Stash | String | stash
57- version | Stash version to install | String | 4.5.2
57+ version | Stash version to install | String | 4.6.0
5858
5959### Stash Backup Attributes (Shared)
6060
@@ -78,7 +78,7 @@ Attribute | Description | Type | Default
7878checksum | SHA256 checksum for Stash Backup Client install | String | auto-detected (see attributes/default.rb)
7979install_path | location to install Stash Backup Client | String | /opt/atlassian/stash-backup-client
8080url_base | URL base for Stash Backup Client install | String | http://downloads.atlassian.com/software/stash/downloads/stash-backup-distribution
81- version | Stash Backup Client version to install | String | 3.1 .0
81+ version | Stash Backup Client version to install | String | 3.2 .0
8282
8383### Stash DIY Backup Attributes
8484Documentation: [ Using Stash DIY Backup] ( https://confluence.atlassian.com/display/STASH/Using+Stash+DIY+Backup )
Original file line number Diff line number Diff line change 11set [ 'build-essential' ] [ 'compile_time' ] = true
22
3- default [ 'stash' ] [ 'version' ] = '4.5.2 '
3+ default [ 'stash' ] [ 'version' ] = '4.6.0 '
44default [ 'stash' ] [ 'product' ] = Chef ::Version . new ( node [ 'stash' ] [ 'version' ] ) >= Chef ::Version . new ( '4.0.0' ) ? 'bitbucket' : 'stash'
55
66default [ 'stash' ] [ 'home_path' ] = if Dir . exist? ( '/var/atlassian/application-data/stash' )
155155 when '4.4.2' then '050e31d88da4cfd6715834fc5a48ec8977f461f0fac7899c602a75e251952be4'
156156 when '4.5.1' then 'eb93ede7c4bcaded79540f555062d9f1e79ab0da1615feca1e679cd7094eecd5'
157157 when '4.5.2' then 'cb3ee49ec20cd2f496dfbf0b8542a24c8db720226e3d80510b9fb4921968f89d'
158+ when '4.6.0' then '7dd309b5d17be41e3e2406276e14436136f9fd810655ceed6e08a72556e644aa'
158159 end
159160
160161# Data bag where credentials and other sensitive data could be stored (optional)
196197default [ 'stash' ] [ 'backup' ] [ 'cron' ] [ 'weekday' ] = '*'
197198
198199default [ 'stash' ] [ 'backup_client' ] [ 'install_path' ] = node [ 'stash' ] [ 'install_path' ]
199- default [ 'stash' ] [ 'backup_client' ] [ 'version' ] = '3.1 .0'
200+ default [ 'stash' ] [ 'backup_client' ] [ 'version' ] = '3.2 .0'
200201stash_backup_client_version = Chef ::Version . new ( node [ 'stash' ] [ 'backup_client' ] [ 'version' ] )
201202
202203default [ 'stash' ] [ 'backup_client' ] [ 'url_base' ] =
240241 when '2.0.2' then 'c008bfdac59b45d8ce98ec0625e69316b3a5c51ccefa18363322df687d2c78c4'
241242 when '3.0.0' then '1a4dcea8fa5df919b9c92341b1a3b92aed5892022e0f94733540d1ebb88653df'
242243 when '3.1.0' then '7d586c65f6f0173c064e5d6508c380192c4a9ac3fc2314fbc3fce2e8f6b10daf'
244+ when '3.2.0' then 'e306e5d0b1f7bc36124ef2877df608b9c1fa2fb7e88d5252fc7dba680962b882'
243245 end
244246
245247default [ 'stash' ] [ 'backup_diy' ] [ 'install_path' ] = "#{ node [ 'stash' ] [ 'install_path' ] } /stash-diy-backup"
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ def merge_stash_settings
99 @settings_from_data_bag ||= settings_from_data_bag
1010 settings = Chef ::Mixin ::DeepMerge . deep_merge (
1111 @settings_from_data_bag ,
12- node [ 'stash' ] . to_hash )
12+ node [ 'stash' ] . to_hash
13+ )
1314
1415 settings [ 'database' ] [ 'port' ] ||=
1516 case settings [ 'database' ] [ 'type' ]
You can’t perform that action at this time.
0 commit comments