Sha256: 650a2aa6d0185d73976cff030f6e361009a974669c9b36b482707b752d31bd8c

Contents?: true

Size: 1.04 KB

Versions: 16

Compression:

Stored size: 1.04 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_relative '../cluster_knife'

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

      def relevant?(computer)
        (not computer.bogus?) && computer.stopped?
      end

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

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ironfan-6.1.9 lib/chef/knife/cluster_start.rb
ironfan-6.0.9 lib/chef/knife/cluster_start.rb
ironfan-6.1.7 lib/chef/knife/cluster_start.rb
ironfan-6.1.6 lib/chef/knife/cluster_start.rb
ironfan-6.0.8 lib/chef/knife/cluster_start.rb
ironfan-6.1.5 lib/chef/knife/cluster_start.rb
ironfan-6.1.4 lib/chef/knife/cluster_start.rb
ironfan-6.1.3 lib/chef/knife/cluster_start.rb
ironfan-6.1.0 lib/chef/knife/cluster_start.rb
ironfan-6.0.7 lib/chef/knife/cluster_start.rb
ironfan-6.0.6 lib/chef/knife/cluster_start.rb
ironfan-6.0.5 lib/chef/knife/cluster_start.rb
ironfan-6.0.4 lib/chef/knife/cluster_start.rb
ironfan-6.0.3 lib/chef/knife/cluster_start.rb
ironfan-6.0.1 lib/chef/knife/cluster_start.rb
ironfan-6.0.0 lib/chef/knife/cluster_start.rb