Class: TestCloudClass
- Inherits:
-
PoolParty::Cloud::Cloud
- Object
- PoolParty::PoolPartyBaseClass
- PoolParty::Cloud::Cloud
- TestCloudClass
- Defined in:
- lib/poolparty/spec.rb
Instance Attribute Summary
Attributes inherited from PoolParty::Cloud::Cloud
#cloud_name, #remote_base, #templates
Instance Method Summary collapse
Methods inherited from PoolParty::Cloud::Cloud
#add_poolparty_base_requirements, #after_create, #after_launch_instance, #before_create, #build_and_store_new_config_file, #build_from_existing_file, #build_manifest, #copy_custom_monitors, immutable_methods, #initialize, #ip, #ips, method_added, #method_missing, #other_clouds, #rebuild_manifest, #reset!, #setup_defaults, #verbose, #write_properties_hash
Methods included from PoolParty::Verification
Methods included from PoolParty::CloudDsl
#add_optional_enabled_services, #dependency_resolver, #disable, #enable, #enabled?
Methods included from PoolParty::Remote
#_nodes, #are_any_nodes_exceeding_minimum_runtime?, #are_too_few_instances_running?, #are_too_many_instances_running?, #commands, #execute!, #is_master_running?, #list_of_instances, #list_of_nodes_exceeding_minimum_runtime, #master, #netssh, #nodes, #remote_rsync_command, #remote_ssh_array, #remote_ssh_string, #rsync, #rsync_command, #rsync_storage_files_to, #rsync_storage_files_to_command, #rsync_to, #rsync_to_command, #run_command_on, #run_command_on_command, #run_command_on_instance_number, #run_local, #run_remote, #scp_array, #scp_to_command, #simplest_run_remote, #ssh_array, #ssh_command, #ssh_into, #ssh_into_instance_number, #ssh_options, #ssh_string, #target_host
Methods included from PoolParty::Pinger
Methods included from PoolParty::PrettyPrinter
#pretty_name, #pretty_options, #pretty_print
Methods included from PoolParty::DependencyResolverCloudExtensions
Methods included from PoolParty::Callbacks
Methods included from PoolParty::Resources
Methods included from PoolParty::PluginModel
Methods included from PoolParty::CloudResourcer
#_keypairs, #full_keypair_path, #instances, #keypair, #number_of_resources, #plugin_directory, #run_stored_block, #setup_dev, #store_block, #stored_block, #update_from_schema, #using, #using_remoter?
Methods inherited from PoolParty::PoolPartyBaseClass
add_has_and_does_not_have_methods_for, #add_resource, #add_service, #add_to_parent_if_parent_exists_and_is_a_service, #get_local_resource, #get_name_from_options_and_extra_options, #get_resource, #handle_option_values, #in_local_resources?, #initialize, #is_a_resource?, #is_plugin?, #method_missing, #ordered_resources, #plugin_store, #resource, #resources, #run_in_context, #services, #store_in_local_resources
Constructor Details
This class inherits a constructor from PoolParty::Cloud::Cloud
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PoolParty::Cloud::Cloud
Instance Method Details
#build_test_manifest ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/poolparty/spec.rb', line 6 def build_test_manifest returning Array.new do |arr| services.each do |service| service..merge!(:name => service.name) classpackage_with_self(service) end global_classpackages.each do |cls| arr << cls.to_string end end.join("\n") end |