class PoiseApplicationPython::Resources::CeleryConfig::Provider

Provider for ‘application_celery_config`.

@since 4.0.0 @see Resource @provides application_celery_config

Public Instance Methods

action_deploy() click to toggle source

‘deploy` action for `application_celery_config`. Writes config file.

@return [void]

# File lib/poise_application_python/resources/celery_config.rb, line 89
def action_deploy
  notifying_block do
    write_config
  end
end

Private Instance Methods

write_config() click to toggle source
# File lib/poise_application_python/resources/celery_config.rb, line 97
def write_config
  file new_resource.path do
    content new_resource.content
    mode '640'
    owner new_resource.owner
    group new_resource.group
  end
end