1
2
3
4
5
6
7
8
9
10
11
12 | @when('prm.running')
@when_not('prm.available')
def final_configure():
"""Render config and start prm
"""
# Set status
status_set('maintenance',
'Final configuration of PRM.')
status_set('active', 'PRM webapp available!')
# Set state
set_state('prm.available')
|