Ubuntu Pastebin

Paste from bdx at Tue, 30 Aug 2016 16:27:15 +0000

Download as text
 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')
Download as text