sr-scripts 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sr-promote-to-master +3 -0
- data/lib/sr-scripts/version.rb +1 -1
- metadata +2 -2
data/bin/sr-promote-to-master
CHANGED
@@ -112,4 +112,7 @@ if private_dns_alias
|
|
112
112
|
sns = SrScripts::SNS.get
|
113
113
|
sns.publish(options[:sns_topic_id], "ReloadHostsFile")
|
114
114
|
end
|
115
|
+
puts "Updating Instance Tags"
|
116
|
+
connection.tags.create(:resource_id => fog_new_master.id, :key => "master_status", :value => "master")
|
117
|
+
connection.tags.create(:resource_id => fog_current_master.id, :key => "master_status", :value => "master-retired")
|
115
118
|
end
|
data/lib/sr-scripts/version.rb
CHANGED