idlc-sdk-deploy 1.0.26 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/idlc-sdk-deploy/config.rb +1 -1
- data/lib/idlc-sdk-deploy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0ef3d550ff2b2db32412de5bb99f4c86b570edf22405b718e64bf78aa6c1f55
|
4
|
+
data.tar.gz: f2c6aeace2a6143358b2a412ced041c3786da1fffe7f04b24d818c5e990316d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b84f26d67f4ce296df120695efa00b615a953f52fca3d79a48231cdbc6874a8774c34fa37312749cfaadb58c2a553e304a3ac961be58d54f10cf526d4453f34d
|
7
|
+
data.tar.gz: 4519243edfeeed69511fa2bc99669777f324bc02e3043fb78a12d4cb48ee2773b0e03c2b34f6e570bee1cdff7d49f8794d021770c02cd307bbc980130dc22a2a
|
@@ -114,7 +114,7 @@ module Idlc
|
|
114
114
|
def set_hostname (instance)
|
115
115
|
hostname = instance['tags']['Name']
|
116
116
|
|
117
|
-
unless (instance['tags']['Name'].start_with?
|
117
|
+
unless (instance['tags']['Name'].start_with?('db') || instance['tags']['Name'].start_with?('fs'))
|
118
118
|
# Use instance id for unique hostname
|
119
119
|
hostname = instance['tags']['Name'][0..4] + '-' + instance['instance_id'][2..10]
|
120
120
|
end
|