Sha256: 975014d4a0094e1b85e5043d425c98c7b29cfe810cd1d2f3063b5f2ea813290f
Contents?: true
Size: 619 Bytes
Versions: 3
Compression:
Stored size: 619 Bytes
Contents
require 'chef/resource/lwrp_base' class Chef::Resource::MachineBatch < Chef::Resource::LWRPBase self.resource_name = 'machine_batch' def initialize(*args) super @machines = [] @chef_server = run_context.cheffish.current_chef_server end # TODO there is a useful action sequence where one does an ohai on all machines, # waits for that to complete, save the nodes, and THEN converges. actions :acquire, :setup, :converge, :stop, :delete default_action :converge attribute :machines, :kind_of => [ Array ] attribute :max_simultaneous, :kind_of => [ Integer ] attribute :chef_server end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chef-metal-0.10.2 | lib/chef/resource/machine_batch.rb |
chef-metal-0.10.1 | lib/chef/resource/machine_batch.rb |
chef-metal-0.10 | lib/chef/resource/machine_batch.rb |