ironfan 6.0.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ironfan (6.0.0)
4
+ ironfan (6.0.1)
5
5
  chef (= 10.30.4)
6
6
  diff-lcs (= 1.2.5)
7
7
  excon (= 0.21.0)
@@ -101,7 +101,7 @@ GEM
101
101
  multi_json (1.8.2)
102
102
  net-scp (1.1.2)
103
103
  net-ssh (>= 2.6.5)
104
- net-ssh (2.7.0)
104
+ net-ssh (2.8.0)
105
105
  net-ssh-gateway (1.2.0)
106
106
  net-ssh (>= 2.6.5)
107
107
  net-ssh-multi (1.1)
@@ -37,6 +37,12 @@ class Chef
37
37
  :short => "-a ATTR",
38
38
  :long => "--attribute ATTR",
39
39
  :description => "The attribute to use for opening the connection - default is fqdn (ec2 users may prefer cloud.public_hostname)"
40
+ option :cloud,
41
+ long: "--[no-]cloud",
42
+ description: "Look up computers on AWS cloud (default is yes, look up computers; use --no-cloud to skip)",
43
+ default: true,
44
+ boolean: true
45
+
40
46
 
41
47
  def configure_session
42
48
  target = get_slice(@name_args[0]).select(&:running?)
@@ -23,6 +23,11 @@ module Ironfan
23
23
  Ironfan::KnifeCommon.load_deps
24
24
  end
25
25
 
26
+ option :cloud,
27
+ long: "--[no-]cloud",
28
+ description: "Look up computers on AWS cloud (default is yes, look up computers; use --no-cloud to skip)",
29
+ default: true,
30
+ boolean: true
26
31
  option :dry_run,
27
32
  :long => "--dry-run",
28
33
  :description => "Don't really run, just use mock calls",
@@ -222,6 +222,7 @@ module Ironfan
222
222
 
223
223
  def initialize(attrs={},&block)
224
224
  unless attrs[:owner].nil?
225
+ self.realm_name attrs[:owner].realm_name
225
226
  self.cluster_name = attrs[:owner].cluster_name
226
227
  self.facet_name = attrs[:owner].name
227
228
 
@@ -1,3 +1,3 @@
1
1
  module Ironfan
2
- VERSION = '6.0.0'
2
+ VERSION = '6.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ironfan
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-17 00:00:00.000000000 Z
12
+ date: 2014-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -319,7 +319,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
319
319
  version: '0'
320
320
  segments:
321
321
  - 0
322
- hash: -4011394915460401871
322
+ hash: -797623552382133081
323
323
  required_rubygems_version: !ruby/object:Gem::Requirement
324
324
  none: false
325
325
  requirements:
@@ -328,7 +328,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
328
  version: '0'
329
329
  segments:
330
330
  - 0
331
- hash: -4011394915460401871
331
+ hash: -797623552382133081
332
332
  requirements: []
333
333
  rubyforge_project:
334
334
  rubygems_version: 1.8.25