Sha256: 7a079c5e38a3419dfd2a2937d99c9460035ff1c3f441ab670188825aeeeffd1c

Contents?: true

Size: 746 Bytes

Versions: 8

Compression:

Stored size: 746 Bytes

Contents

module Ironfan

  class Cluster
    #
    # **DEPRECATED**: This doesn't really work -- use +reverse_merge!+ instead
    #
    def use(*clusters)
      ui.warn "The 'use' statement is deprecated #{caller.inspect}"
      clusters.each do |c|
        other_cluster =  Ironfan.load_cluster(c)
        reverse_merge! other_cluster
      end
      self
    end

  end

  class Server
    # **DEPRECATED**: Please use +fullname+ instead.
    def chef_node_name name
      ui.warn "[DEPRECATION] `chef_node_name` is deprecated.  Please use `fullname` instead."
      fullname name
    end
  end

  class Cloud::Ec2
    # **DEPRECATED**: Please use +public_ip+ instead.
    def elastic_ip(*args, &block)
      public_ip(*args, &block)
    end
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ironfan-3.1.7 lib/ironfan/deprecated.rb
ironfan-3.1.6 lib/ironfan/deprecated.rb
ironfan-3.1.5 lib/ironfan/deprecated.rb
ironfan-3.1.4 lib/ironfan/deprecated.rb
ironfan-3.1.3 lib/ironfan/deprecated.rb
ironfan-3.1.2 lib/ironfan/deprecated.rb
ironfan-3.1.1 lib/ironfan/deprecated.rb
ironfan-3.1.0.rc1 lib/ironfan/deprecated.rb