Commit b4533f32 authored by Daniel Baur's avatar Daniel Baur

Fixed error with install lifecycle of ghost

parent 03e1ef27
......@@ -30,7 +30,7 @@ CONFIG_PATH = '/opt/ghost/config.js'
TEMPLATE_RESOURCE_NAME = 'resources/ghost/ghost.default.template'
def install():
def configure(subject=None):
ctx.logger.info('Configuring ghost.')
......
......@@ -46,12 +46,12 @@ node_types:
derived_from: cloudify.nodes.ApplicationModule
interfaces:
cloudify.interfaces.lifecycle:
install:
configure:
implementation: scripts/ghost/ghost.py
inputs:
invocation:
default:
function: install
function: configure
start:
implementation: scripts/ghost/ghost.py
inputs:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment