Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 1 | #onboarding_version = "#{node['onboarding'][:version]}" |
| 2 | #GROUP_ID = "com/att/asdc/onboarding/#{onboarding_version}" |
| 3 | #NEXUS_IP = "#{node['nexus_ip']}" |
| 4 | |
| 5 | bash "Excuting openecomp-zusammen-migration-1707.0.0-SNAPSHOT.jar" do |
| 6 | code <<-EOH |
| 7 | [ -d /var/tmp/onboarding/migration ] && rm -rf /var/tmp/onboarding || mkdir -p /var/tmp/onboarding/migration |
| 8 | cd /var/tmp/onboarding/migration |
| 9 | /bin/tar -xzf /root/chef-solo/cookbooks/cassandra-actions/files/default/zusammen.tgz -C /var/tmp/onboarding/migration |
| 10 | cd /var/tmp/onboarding/migration |
| 11 | java -Dlog.home=/var/tmp/onboarding/migration/logs -Dconfiguration.yaml=/tmp/sdctool/config/configuration.yaml -jar openecomp-zusammen-migration-1707.0.0-SNAPSHOT.jar org.openecomp.core.migration.MigrationMain |
| 12 | EOH |
| 13 | end |
| 14 | |