insxsync 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/insxsync +1 -0
- data/lib/insxsync/version.rb +1 -1
- data/lib/insxsync.rb +1 -1
- data/lib/sync_point_restore.rb +2 -0
- metadata +1 -1
data/bin/insxsync
CHANGED
data/lib/insxsync/version.rb
CHANGED
data/lib/insxsync.rb
CHANGED
@@ -28,7 +28,7 @@ module InsxSync
|
|
28
28
|
require 'config_file_collection'
|
29
29
|
$CGE_BUCKET = 'insxcloud_v1-backup-db'
|
30
30
|
$SYNC_BUCKET = 'insxsync-storage'
|
31
|
-
$ROLE_ARN = 'arn:aws:iam::677931414594:role/insxsync
|
31
|
+
$ROLE_ARN = 'arn:aws:iam::677931414594:role/insxsync'
|
32
32
|
|
33
33
|
# Loads AWS credentials from config file into global variables
|
34
34
|
def loadCredentials
|
data/lib/sync_point_restore.rb
CHANGED
@@ -240,6 +240,8 @@ class SyncPointRestore < ErrorHandlingIface
|
|
240
240
|
end
|
241
241
|
end
|
242
242
|
end
|
243
|
+
`mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e 'UPDATE \`User\` SET \`Password\` = '92a891f888e79d1c2e8b82663c0f37cc6d61466c508ec62b8132588afe354712b20bb75429aa20aa3ab7cfcc58836c734306b43efd368080a2250831bf7f363f';' -h #{$db_host} -P#{$db_port}`
|
244
|
+
`mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e 'UPDATE ContactDetail set Email = 'test@my1outsourcing.com';' -h #{$db_host} -P#{$db_port}`
|
243
245
|
end
|
244
246
|
end
|
245
247
|
|