Sha256: 030b844bfbab08a87fdc2eed06482c6e062456ae7f0a474b5469254bfc7f5bec

Contents?: true

Size: 754 Bytes

Versions: 9

Compression:

Stored size: 754 Bytes

Contents

module ClusterChef

  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 =  ClusterChef.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

9 entries across 9 versions & 1 rubygems

Version Path
cluster_chef-3.0.14 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.12 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.11 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.10 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.9 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.8 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.7 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.6 lib/cluster_chef/deprecated.rb
cluster_chef-3.0.5 lib/cluster_chef/deprecated.rb