blob: e1fcf4f556961113c768de63126ba35f511392c2 [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001#onboarding_version = "#{node['onboarding'][:version]}"
2#GROUP_ID = "com/att/asdc/onboarding/#{onboarding_version}"
3#NEXUS_IP = "#{node['nexus_ip']}"
4
5bash "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
13end
14