Top Level Namespace

Defined Under Namespace

Classes: Chef

Instance Method Summary collapse

Methods included from Chef::MonitWrapper::StartStop

#ensure_monit_daemon_is_running, #restart_monit_service, #start_monit_service, #stop_monit_service, #wait_for_monit_service_to_exist

Methods included from Chef::MonitWrapper::Status

#get_monit_summary, #get_stable_monit_service_status, #monit_service_exists_and_running?, #monit_service_registered?, #monit_service_running?, #monit_status_stable?, #parse_monit_summary

Methods included from Chef::MonitWrapper::Wait

#wait_for_host_port

Instance Method Details

#deprecated_service_conf_pathObject



18
19
20
# File 'providers/monitor.rb', line 18

def deprecated_service_conf_path
  ::File.join(node['monit']['conf_dir'], "#{new_resource.name}.monitrc")
end

#service_conf_pathObject



22
23
24
25
# File 'providers/monitor.rb', line 22

def service_conf_path
  # The monit-ng cookbook we're using configures Monit to look for .conf files.
  ::File.join(node['monit']['conf_dir'], "#{new_resource.name}.conf")
end