Class: PoiseApplication::Resources::Application::Provider
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- PoiseApplication::Resources::Application::Provider
- Includes:
- Poise
- Defined in:
- lib/poise_application/resources/application.rb
Overview
Provider for application
.
Instance Method Summary collapse
-
#action_deploy
deploy
action forapplication
. -
#action_reload
reload
action forapplication
. -
#action_restart
restart
action forapplication
. -
#action_start
start
action forapplication
. -
#action_stop
stop
action forapplication
.
Instance Method Details
#action_deploy
This method returns an undefined value.
deploy
action for application
. Creates the application base folder.
201 202 203 204 205 206 207 208 209 |
# File 'lib/poise_application/resources/application.rb', line 201 def action_deploy do directory new_resource.path do owner new_resource.owner group new_resource.group mode '755' end end end |
#action_reload
This method returns an undefined value.
reload
action for application
. Proxies to subresources.
235 236 237 |
# File 'lib/poise_application/resources/application.rb', line 235 def action_reload proxy_action(:reload) end |
#action_restart
This method returns an undefined value.
restart
action for application
. Proxies to subresources.
228 229 230 |
# File 'lib/poise_application/resources/application.rb', line 228 def action_restart proxy_action(:restart) end |
#action_start
This method returns an undefined value.
start
action for application
. Proxies to subresources.
214 215 216 |
# File 'lib/poise_application/resources/application.rb', line 214 def action_start proxy_action(:start) end |
#action_stop
This method returns an undefined value.
stop
action for application
. Proxies to subresources.
221 222 223 |
# File 'lib/poise_application/resources/application.rb', line 221 def action_stop proxy_action(:stop) end |