Sha256: a272607ff20a08a1baa4d49b2ce20a49442dfcb6be6a056affcf9e481993bf79

Contents?: true

Size: 1.07 KB

Versions: 39

Compression:

Stored size: 1.07 KB

Contents

#
# Author:: Philip (flip) Kromer (<flip@infochimps.com>)
# Copyright:: Copyright (c) 2011 Infochimps, Inc
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require File.expand_path('ironfan_script',       File.dirname(File.realdirpath(__FILE__)))

class Chef
  class Knife
    class ClusterStart < Ironfan::Script
      import_banner_and_options(Ironfan::Script)

      def relevant?(server)
        server.stopped?
      end

      def perform_execution(target)
        section("Starting computers")
        super(target)
      end

    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
ironfan-4.8.2 lib/chef/knife/cluster_start.rb
ironfan-4.8.1 lib/chef/knife/cluster_start.rb
ironfan-4.8.0 lib/chef/knife/cluster_start.rb
ironfan-4.7.7 lib/chef/knife/cluster_start.rb
ironfan-4.7.6 lib/chef/knife/cluster_start.rb
ironfan-4.7.5 lib/chef/knife/cluster_start.rb
ironfan-4.7.3 lib/chef/knife/cluster_start.rb
ironfan-4.7.2 lib/chef/knife/cluster_start.rb
ironfan-4.7.1 lib/chef/knife/cluster_start.rb
ironfan-4.7.0 lib/chef/knife/cluster_start.rb
ironfan-4.6.2 lib/chef/knife/cluster_start.rb
ironfan-4.6.1 lib/chef/knife/cluster_start.rb
ironfan-4.6.0 lib/chef/knife/cluster_start.rb
ironfan-4.5.2 lib/chef/knife/cluster_start.rb
ironfan-4.5.1 lib/chef/knife/cluster_start.rb
ironfan-4.5.0 lib/chef/knife/cluster_start.rb
ironfan-4.4.3 lib/chef/knife/cluster_start.rb
ironfan-4.4.2 lib/chef/knife/cluster_start.rb
ironfan-4.4.1 lib/chef/knife/cluster_start.rb
ironfan-4.4.0 lib/chef/knife/cluster_start.rb