File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818#
1919
2020default [ 'activemq' ] [ 'mirror' ] = "http://apache.mirrors.tds.net"
21+ default [ 'activemq' ] [ 'archive' ] = "http://archive.apache.org"
2122default [ 'activemq' ] [ 'version' ] = "5.5.1"
2223default [ 'activemq' ] [ 'home' ] = "/opt"
2324default [ 'activemq' ] [ 'wrapper' ] [ 'max_memory' ] = "512"
Original file line number Diff line number Diff line change 2222tmp = Chef ::Config [ :file_cache_path ]
2323version = node [ 'activemq' ] [ 'version' ]
2424mirror = node [ 'activemq' ] [ 'mirror' ]
25+ archive = node [ 'activemq' ] [ 'archive' ]
2526activemq_home = "#{ node [ 'activemq' ] [ 'home' ] } /apache-activemq-#{ version } "
2627
2728directory node [ 'activemq' ] [ 'home' ] do
3031
3132unless File . exists? ( "#{ activemq_home } /bin/activemq" )
3233 remote_file "#{ tmp } /apache-activemq-#{ version } -bin.tar.gz" do
33- source "#{ mirror } /activemq/apache-activemq/#{ version } /apache-activemq-#{ version } -bin.tar.gz"
34+ source "#{ archive } /dist /activemq/apache-activemq/#{ version } /apache-activemq-#{ version } -bin.tar.gz"
3435 mode "0644"
3536 end
3637
You can’t perform that action at this time.
0 commit comments