Class: Fhcap::CLI::Knife
Instance Attribute Summary
Attributes inherited from ThorBase
Instance Method Summary collapse
Methods inherited from ThorBase
add_shared_option, chef_server_names, cluster_template_names, config_key_collection, #initialize, provider_names, provider_names_for, repo_names, run_cmd, run_knife_cmd, shared_options
Methods included from ReposHelper
#find_cluster, #find_cluster_pwds, #find_cluster_pwds_with_repo, #find_cluster_with_repo, #find_data_bag, #find_data_bag_item, #find_environment, #find_repo_item, #find_role, #get_cookbook_deps, #get_cookbook_meta, #get_cookbook_versions, #get_cookbooks, #get_entry_dependencies, #get_modified_cookbooks, #is_dirty?, #modified?, #repo_cfg, #repo_clusters_dir, #repo_cookbook_paths, #repo_dir, #repo_names, #repo_paths, #repos_config, #repos_dir, #run_inside_repo_dir
Methods included from ProvidersHelper
#provider_availability_zones, #provider_config, #provider_credentials, #provider_for, #provider_names, #provider_names_for, #provider_regions, #provider_type, #providers_config
Constructor Details
This class inherits a constructor from Fhcap::ThorBase
Instance Method Details
#add ⇒ Object
25 26 27 28 |
# File 'lib/fhcap/knife.rb', line 25 def add require "fhcap/tasks/knife/add" Tasks::Knife::Add.new((.dup)).run end |
#create_user ⇒ Object
66 67 68 69 70 |
# File 'lib/fhcap/knife.rb', line 66 def create_user require "fhcap/tasks/chef/server/create_user" Tasks::Chef::Server::CreateUser.new((.dup)).run end |