Class: PoiseMonit::Resources::MonitConfig::Provider

Inherits:
Chef::Provider
  • Object
show all
Includes:
Poise
Defined in:
lib/poise_monit/resources/monit_config.rb

Overview

The provider for monit_config.

See Also:

Since:

  • 1.0.0

Provides:

  • monit_config

Instance Method Summary collapse

Instance Method Details

#action_create

This method returns an undefined value.

A create action for monit_config.

Since:

  • 1.0.0



71
72
73
74
75
# File 'lib/poise_monit/resources/monit_config.rb', line 71

def action_create
  notifying_block do
    create_config
  end
end

#action_delete

This method returns an undefined value.

A delete action for monit_config.

Since:

  • 1.0.0



80
81
82
83
84
# File 'lib/poise_monit/resources/monit_config.rb', line 80

def action_delete
  notifying_block do
    delete_config
  end
end