class PoiseApplicationPython::Resources::Python::Resource

An ‘application_python` resource to manage Python runtimes inside an Application cookbook deployment.

@provides application_python @provides application_python_runtime @action install @action uninstall @example

application '/app' do
  python '2'
end

Public Instance Methods

after_created() click to toggle source

Set this resource as the app_state’s parent python.

@api private

Calls superclass method
# File lib/poise_application_python/resources/python.rb, line 48
def after_created
  super.tap do |val|
    app_state_python(self)
  end
end