knife-softlayer 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWUwNTgyYjY0YjNmNzI0ODNkYzgyYzA4NGJjNjIzMjRkODUyNjAyYg==
4
+ YmY4NThkYjg3NTA1ZDU3MjVkNGE5NTU1ODliNjQxOTg3Y2NhNjY2Ng==
5
5
  data.tar.gz: !binary |-
6
- NjY0YWNkNDZiZTc3N2M2MWU1OGZiNjBhZjEwNDgyZjA3ODMyOGNkZQ==
6
+ NzdiNWRjZDQ4NjZjZTc1Y2ZlOGVhNzM3OThlMWU0MzRlZjExOTc0Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGNlNmZiZDE5MjAxZTA2ZDk5OTAxOWQ1MzUzZDIxYTIwZmIwNjI0YjJiZTFk
10
- MTk3ODczODI5YmE1ODA0NTI1Yjg5ZGEzM2UxYTk4YzZhNTBhZTMxNjA4YTc4
11
- NTdkZTQwM2ZmNTFiYjE1ZTkxNDdhMTkwZGM3M2IyOGYwOGRiMjU=
9
+ YTM2Mjg3ODAwZjNhMmVkZGNiZGFiODUwMGQ1ZjU2OWY3NWUxYjlmNmEzYWY0
10
+ NjdhYjgyMjQzZGZlNWNkNDkwZWQ2YmM2NDI3ZGNiZGVlOThjMjFlZjY5ZDI0
11
+ MTQ5YjYwYzA5OTAxZDM3YzQwNmM5ZDIxYjNiOTQxZjNiMjQxNTU=
12
12
  data.tar.gz: !binary |-
13
- ODkzMTBkM2E3MjI2MjBhMWIwNWIyOTc4YTg4NTA3MWE2ZjdkMDkxZjJmNjRj
14
- ZWYyYjdjZmE5ZTU0YjE3Y2UzMDNkMjQ0ZGQzOWU0ZGVmNjUyM2Y1MGQ1MjZh
15
- NWJlM2UwODE2N2UzNGU5ZDA2ZjAwYjFmMTEyYzg3YmVjNGJhMzc=
13
+ OTI0NDM3YTVjMTQxMmJjMzI5MzQ0MGUyNGY1MGYyNzU5MWExNWE2NzNlMWRj
14
+ NmM2ZDU0ZTAxNDhlYzM3NjUzODBjOGZkY2FhZTliMTE2ZjlhYTUzMjI1NGEx
15
+ Y2U5NTNjNTU4ZTg1YTA5Nzk5YWM5M2Y2ZGU0YTc5NTllZGI0ZDk=
@@ -289,6 +289,9 @@ class Chef
289
289
 
290
290
  puts ui.color("Launching SoftLayer VM, this may take a few minutes.", :green)
291
291
  instance = connection.servers.create(opts)
292
+ if config[:private_network_only]
293
+ instance.ssh_ip_address = Proc.new {|server| server.private_ip_address }
294
+ end
292
295
  progress Proc.new { instance.wait_for { ready? and sshable? } }
293
296
  putc("\n")
294
297
 
@@ -7,6 +7,6 @@
7
7
 
8
8
  module Knife
9
9
  module Softlayer
10
- VERSION = "0.3.2"
10
+ VERSION = "0.3.3"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-softlayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Eldridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-15 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-softlayer