Class: Chef::Provider::ChefClient
Instance Method Summary
collapse
#augment_new_json, #create_actor, #delete_actor, #load_current_resource, #new_public_key
#apply_modifiers, #apply_run_list_modifiers, #augment_current_json, #augment_new_json, #current_json, #current_resource_exists?, #json_differences, #json_differences_internal, #json_to_resource, #new_json, #normalize, #normalize_for_post, #normalize_for_put, #not_found_resource, #resource_to_json, #rest, #same_run_list_item
Instance Method Details
#actor_path ⇒ Object
18
19
20
|
# File 'lib/chef/provider/chef_client.rb', line 18
def actor_path
'clients'
end
|
#actor_type ⇒ Object
14
15
16
|
# File 'lib/chef/provider/chef_client.rb', line 14
def actor_type
'client'
end
|
#data_handler ⇒ Object
38
39
40
|
# File 'lib/chef/provider/chef_client.rb', line 38
def data_handler
Chef::ChefFS::DataHandler::ClientDataHandler.new
end
|
#keys ⇒ Object
42
43
44
45
46
47
48
49
|
# File 'lib/chef/provider/chef_client.rb', line 42
def keys
{
'name' => :name,
'admin' => :admin,
'validator' => :validator,
'public_key' => :source_key
}
end
|
#resource_class ⇒ Object
34
35
36
|
# File 'lib/chef/provider/chef_client.rb', line 34
def resource_class
Chef::Resource::ChefClient
end
|
#whyrun_supported? ⇒ Boolean
10
11
12
|
# File 'lib/chef/provider/chef_client.rb', line 10
def whyrun_supported?
true
end
|